Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7864

ctx.getParameters()/ctx.getParameter('Param') returns only first occurance of paramater

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an issue
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Having:
      ?Topic=typhoon&Topic=hurricane&foo=bar

      ctx.getParameters() would return:

      *Hash (2)
        foo = "bar" (String)
        Topic =* "typhoon" (String)

      ctx.getParameter('Topic') would return:

      "typhoon" (String)

      We would expect to get all values.
      Either to have multi values or array of all params.

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              bstaryga Bartosz Staryga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD