Project

General

Profile

Bug #2766

Setting categories not consistently loaded and shown in 'development' environment

Added by Dominic Cleal over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Settings
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

When running in the development Rails environment, some setting categories don't get initialised reliably.

If you view the settings page, you often have between one and three categories visible. This happened since the settings STI change in #2407.


Related issues

Related to Foreman - Feature #2407: Allow Plugins to display their config in the Settings UIClosed2013-04-17

Associated revisions

Revision bc494475 (diff)
Added by Amos Benari over 6 years ago

fixes #2766 Setting categories not consistently loaded and shown in dev

History

#1 Updated by Greg Sutcliffe over 6 years ago

This is due to the lazy-loading of models, I think Rails is clearing some kind of cache. I don't really know how to mark a class for permanent loading though, but I'll try to find out ;)

#2 Updated by Dominic Cleal over 6 years ago

  • Description updated (diff)
  • Category set to Settings
  • Target version set to 1.3.0

#3 Updated by Amos Benari over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF