Request URIs containing multiple matrix parameters in the last segment are not 
always matched
---------------------------------------------------------------------------------------------

                 Key: CXF-2355
                 URL: https://issues.apache.org/jira/browse/CXF-2355
             Project: CXF
          Issue Type: Bug
          Components: REST, Transports
    Affects Versions: 2.2.2
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
             Fix For: 2.2.3, 2.3


Original request from Gabriel : 

I'm having a problem where matrix parameters are not recognized past the
first parameter.  When I have one matrix parameter, the method below is
invoked and the PathSegment.getMatrixParameters() returns the single
result.

However, if I append a second matrix parameter (or more), the service
method is not invoked at all and I receive the following error message:

"No operation matching request".

Service interface:

@GET
@Path("/renderwidget/id/{widgetID}/type/{widgetType}/size/{size}/locale/{locale}/{properties}")
    WSWidget renderWidget(@PathParam("widgetID") Long widgetID,
            @PathParam("widgetType") Integer widgetType,
            @PathParam("size") Long containerSize,
            @PathParam("locale") String locale,
            @PathParam("properties") PathSegment props)
            throws RemoteBridgeException;

Working
URL: /renderwidget/id/1007/type/1/size/1/locale/en_US/properties;numResults=1

Broken:
URL: 
/renderwidget/id/1007/type/1/size/1/locale/en_US/properties;numResults=1;foo=bar
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to