Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4775

PageParameters#mergeWith may loose values of the 'other' PP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.8, 6.0.0
    • 6.1.0
    • wicket
    • None

    Description

      The code at org.apache.wicket.request.mapper.parameter.PageParameters#mergeWith() looks like:

      for (NamedPair curNamed : other.getAllNamed())
      set(curNamed.getKey(), curNamed.getValue());

      may loose some values if 'other' has a named parameter with several values.With the current code only the last name/value pair is preserved.

      Attachments

        Activity

          People

            papegaaij Emond Papegaaij
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: