CLONE - UrlBindingFactory interprets parameters first in url as conflict

Description

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?

Environment

None

Status

Assignee

BenB

Reporter

Kris Luhr

Labels

None

Tester

None

Components

Affects versions

Release 1.5.1
Release 1.5.2

Priority

Major
Configure