Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3454

CXFRS doesn't work when there are multiple optional parameters in a @Path annotation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.4
    • None
    • JAX-RS
    • Moderate

    Description

      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.

      Attachments

        1. URITemplateTest.java
          3 kB
          Guillermo Castro

        Activity

          People

            Unassigned Unassigned
            javageek Guillermo Castro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: