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

LinkBuilder can't be reused

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7.3
    • 3.0.0-milestone1
    • JAX-RS
    • Unknown

    Description

      Currently the linkbuilder will do the 'wrong' thing if it is reused, because it does not copy the map of parameters on .build) - so later changes to the linkbuilder will affect previously built links.

      The suggested patch at https://github.com/apache/cxf/pull/6 includes a unit test to verify the bug, and copies the parameters on build() to fix it.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            soilandreyes Stian Soiland-Reyes (old) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: