Project

General

Profile

Bug #24760

Unable to autoload constant Dashboard::Data

Added by Timo Goebel 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Dashboard
Target version:
-
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When viewing Foreman's dashboard in develop, I sometimes get an Unable to autoload constant Dashboard::Data error.
This goes away when defining

```
module Dashboard; class Data; end; end
```

instead of

```
class Dashboard::Data
```

Associated revisions

Revision 18f2cf43 (diff)
Added by Timo Goebel 4 months ago

fixes #24760 - define dashboard module explicitly

History

#1 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6014 added

#2 Updated by Michael Moll 4 months ago

  • Fixed in Releases 1.20.0 added

#3 Updated by Timo Goebel 4 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5961 added

Also available in: Atom PDF