Wicket
  1. Wicket
  2. WICKET-4775

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8, 6.0.0
    • Fix Version/s: 6.1.0
    • Component/s: wicket
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Emond Papegaaij
            Reporter:
            Martin Grigorov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development