Pluto
  1. Pluto
  2. PLUTO-526

portlet:param JSP tag doesn't handle multi-valued parameters

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6
    • Fix Version/s: 1.1.7
    • Component/s: None
    • Labels:
      None

      Description

      Using multiple portlet:param tags with the same name in both a render or action URL results in only the last set value being on the final URL. According to the specification each portlet:param tag adds the parameter name/value pair to the URL.

      Example of buggy tag usage:

      <portlet:actionURL>
      <portlet:param name="name1" value="valueA"/>
      <portlet:param name="name2" value="value1"/>
      <portlet:param name="name2" value="value2"/>
      </portlet:actionURL>

      The rendered URL would incude name1=valueA and name2=value2. The name2=value1 parameter would be missing.

        Activity

        Hide
        Eric Dalquist added a comment -

        Fixed by adding parameters to a Map in the bast url tag and then adding all of them to the URL during the end tag processing

        Show
        Eric Dalquist added a comment - Fixed by adding parameters to a Map in the bast url tag and then adding all of them to the URL during the end tag processing
        Hide
        Eric Dalquist added a comment -

        Only affects 1.1.x code, 2.0 appears to be designed correctly

        Show
        Eric Dalquist added a comment - Only affects 1.1.x code, 2.0 appears to be designed correctly

          People

          • Assignee:
            Eric Dalquist
            Reporter:
            Eric Dalquist
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development