Uploaded image for project: 'TorqueBox'
  1. TorqueBox
  2. TORQUE-723

jobs cannot load classes in a namespace

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 2.0.0.Beta3
    • 2.0.0
    • Jobs

    Description

      When trying to define a job like..

      job Foo::Bar do
      ...
      end

      an error is thrown indicating that the class could not be loaded. The class was defined in app/jobs/foo/bar.rb.

      Moving to app/jobs/bar.rb allows it to be referenced as 'Bar'

      Attachments

        Activity

          People

            bmcwhirt@redhat.com Bob McWhirter (Inactive)
            kolbrich_jira Kevin Olbrich (Inactive)
            Archiver:
            samahaja@redhat.com Sagar Mahajan

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty