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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment