[
http://www.stripesframework.org/jira/browse/STS-727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11885#action_11885
]
Ben Gunter commented on STS-727:
--------------------------------
Please submit some concrete examples so that I can really understand what
binding you are using, what you expect to happen and what actually is
happening. Thanks.
> UrlBindingFactory interprets parameters first in url as conflict
> ----------------------------------------------------------------
>
> Key: STS-727
> URL: http://www.stripesframework.org/jira/browse/STS-727
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5.1, Release 1.5.2
> Reporter: Kris Luhr
> Fix For: Release 1.5.4
>
> Attachments: stripes-1.5.2-getBindingPrototype-bug.patch
>
>
> I would like to have a parameter first in my urls, representing different
> sections of a site; eg: @UrlBinding("/{section}/foo/bar/{$event}.html")
> This UrlBinding results in a conflict between all ActionBeans using the
> {section} parameter. While debugging I find the
> UrlBindingFactory.getBindingPrototype(String uri) method ignoring the
> componentMatch when checking if we have a conflict, which seems to be a bug.
> At least in this case the result is not logical.
> Additionally when I use the url "/section1/foo/bar.html", the section
> parameter is set to "section1/foo/bar".
> This works and gives me the default handler if I dont have the section as a
> parameter. Perhaps these two issues are related?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development