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

cms.mainBar language select list does not contain url parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 4.4.2
    • taglibs
    • None
    • Ubuntu 10.10

      The main bar included by using the taglib <@cms.mainBar...> does not append the URL parameters supplied to the webpage.

      Example:

      We have a web page with URL: /my-site/partners.html which takes the optional parameter "name" (/my-site/partners.html?name=Partner1).
      The <@cms.mainBar...> results in this:

      <select name="locale" id="locale" onchange="window.location = this.value">
      <option value="/my-site/en_US/partners.html" selected="selected">English (United States)</option>
      <option value="/my-site/partners.html">Svenska (Sweden)</option>
      </select>

      When it should be like this:

      <select name="locale" id="locale" onchange="window.location = this.value">
      <option value="/my-site/en_US/partners.html?name=Partner1" selected="selected">English (United States)</option>
      <option value="/my-site/partners.html?name=Partner1">Svenska (Sweden)</option>
      </select>

        Acceptance criteria

              Unassigned Unassigned
              pean56 Per Andersson [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD