Issue Details (XML | Word | Printable)

Key: JRUBY-2525
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Ola Bini
Reporter: Nick Sieger
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
JRuby

Dir.glob ordering inconsistent with Matzruby

Created: 15/May/08 10:32 AM   Updated: 04/Aug/09 11:18 AM   Resolved: 04/Aug/09 11:18 AM
Return to search
Component/s: Core Classes/Modules
Affects Version/s: JRuby 1.1.1
Fix Version/s: JRuby 1.4

Time Tracking:
Not Specified



Daniel Hahn added a comment - 15/May/08 10:38 AM

Steps to reproduce the routing problem:

  • Create an empty rails app
  • script/generate controller thingy
  • script/generate cotnroller thing/subthingy
  • script/console
    > ActionController::Routing::Routes.recognize_path('/thingy/subthingy', { :method => :get })

=> This recognizes controller => 'thingy', action => 'subthingy'
=> It should recognize controller => 'thingy/subthingy'

See the debug results on the mailing list page.


Charles Oliver Nutter added a comment - 04/Feb/09 05:58 AM

At the very least Rails should not depend on the order in which files are returned from Dir globbing, so I almost want to mark this as "won't fix".


Ola Bini added a comment - 04/Aug/09 11:18 AM

Fixed as part of my 1.8.7 work.


Ola Bini made changes - 04/Aug/09 11:18 AM
Field Original Value New Value
Assignee Ola Bini [ olagus ]
Resolution Fixed [ 1 ]
Fix Version/s JRuby 1.4 [ 15285 ]
Status Open [ 1 ] Resolved [ 5 ]