Project

General

Profile

Bug #32489

Tracker #29939: Improve setting definition DSL and move setting registry to memory

Setting registry doesn't reload properly on autoreload

Added by Tomer Brisker 5 months ago. Updated about 1 month ago.

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

Description

When editing code in development that causes rails to reload the application, the registry isn't properly reloaded leading to missing settings and errors


Related issues

Has duplicate Foreman - Bug #33257: Getting /apidoc/v2.json results in a broken Foreman GUI (500 Internal Server Error)Resolved

Associated revisions

Revision 63469bc6 (diff)
Added by Ondřej Ezr 4 months ago

Fixes #32489 - setting load on code reload

Code reloading unloads setting descendants and thus
SettingRegistry.reload won't get any definitions of default from them.

This loads the STI classes.

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8526 added

#2 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 3.0.0 added

#3 Updated by Ondřej Ezr 4 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker about 1 month ago

  • Has duplicate Bug #33257: Getting /apidoc/v2.json results in a broken Foreman GUI (500 Internal Server Error) added

#5 Updated by Tomer Brisker about 1 month ago

  • Fixed in Releases 2.5.3 added

Also available in: Atom PDF