Actions
Patch #38707
openFix order of loading plugins' config/routes.rb
Start date:
Due date:
% Done:
0%
Estimated time:
Description
When loading init.rb
, uses sort (source:tags/5.0.5/lib/redmine/plugin_loader.rb#L117), but loading plugin's config/routes.rb
does not uses sort (source:tags/5.0.5/config/routes.rb#L400). In ruby-2.7 or earlier, Dir.glob
does not sort. So, loading init.rb
and loading plugin's config/routes.rb
are different.
This issue includes following patches:
- 0001-fix-order-of-loading-plugins-config-routes.rb.patch : minimal changes to fix with tests.
- 0002-refactor-to-more-simply-code.patch : refactor related codes.
Files
Actions