ThemesHelper reopening ApplicationHelper is problem with autoloading
|Assignee:||Jean-Philippe Lang||% Done:|
redmine/themes.rb defines ApplicationHelper, but it gets into problems, if there is a patch for it in plugin, which redefines ApplicationHelper method. Rails do not load it - it is loaded, but does not have the method defined. It works only if patch is after a controller invocation, because it load it by path and do not care if it is defined. But it bassically defines the model and avoiding Rails autoloading.
ThemesHelper reopening ApplicationHelper is problem with autoloading (#20507).
Patch by Ondřej Ezr.
#2 Updated by Jean-Philippe Lang over 3 years ago
- Status changed from Closed to Reopened
Tests broken, patch reverted: