Actions
Patch #20507
closedThemesHelper reopening ApplicationHelper is problem with autoloading
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Description
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.
Files
Updated by Jean-Philippe Lang about 9 years ago
- Category set to Code cleanup/refactoring
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 3.2.0
Patch committed in r14511, thanks.
Updated by Jean-Philippe Lang about 9 years ago
- Status changed from Closed to Reopened
Tests broken, patch reverted:
http://www.redmine.org/builds/logs/build_trunk_postgresql_ruby-2.2_2567.html
Updated by Jean-Philippe Lang about 9 years ago
- Status changed from Reopened to Closed
Actions