Project

General

Profile

Actions

Defect #38707

closed

Fix order of loading plugins' config/routes.rb

Added by Nishida Yuya over 1 year ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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:


Files


Related issues

Related to Redmine - Defect #39864: Backport fix of random failing integration test for plugin routes ClosedMarius BĂLTEANU

Actions
Actions

Also available in: Atom PDF