Reverse routing doesnt always match static parameters

Bug #518878 reported by dirk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Status tracked in 1.0
1.0
Fix Released
Undecided
Unassigned
1.1
Fix Committed
Undecided
Unassigned

Bug Description

When performing a reverse route operation from within Java code, if there is a static parameter specified it is not always matched
For example:

GET /providers/{<[0-9]+>id}/edit Providers.get(editable:'true')
GET /providers/{<[0-9]+>id} Providers.get(editable:'false')

Providers.redirect("Providers.get", id, editable);
=>
/providers?id=5&editable=false

The patch to fix this bug on the 1.1 branch is here:
http://bazaar.launchpad.net/~australiandeveloper/play/dev/revision/772

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.