You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Guillermo Castro (JIRA)" <ji...@apache.org> on 2011/04/12 20:34:05 UTC
[jira] [Updated] (CXF-3454) CXFRS doesn't work when there are
multiple optional parameters in a @Path annotation
[ https://issues.apache.org/jira/browse/CXF-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillermo Castro updated CXF-3454:
----------------------------------
Attachment: URITemplateTest.java
Test case for Issue
> CXFRS doesn't work when there are multiple optional parameters in a @Path annotation
> ------------------------------------------------------------------------------------
>
> Key: CXF-3454
> URL: https://issues.apache.org/jira/browse/CXF-3454
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.4
> Reporter: Guillermo Castro
> Labels: jaxrs
> Attachments: URITemplateTest.java
>
>
> In JAX-RS you can define custom patterns for path variables, which allows you to define optional parameters that can be present or not. Currently, CXF only works if you only have 1 optional parameter in the @Path (see test "URITemplateTest.testExpressionWithNestedGroupAndTwoVars2()", but fails for paths with 2 or more optional parameters.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira