Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-119140

Changing Keyword Parameter name in search bar does not remove old parameter

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Search Infrastructure
    • Labels:
    • Fix Priority:
      3
    • Sprint:
      Search|S03 Sprint 21|9.1-9.21

      Description

      Steps to Reproduce:

      1. On the Search Bar Portlet, click on the kebab > configuration
      2. Update the Keyword Parameter Name to 'apple' and save
      3. Search for "test"
      4. Assert url is http://localhost:8080/web/guest/search?apple=test
      5. On the Search Bar Portlet update the Keyword Parameter Name again to be 'banana' and save
      6. Refresh page and search for test

      Expected Result:
      URL is http://localhost:8080/web/guest/search?banana=test

      Actual Result:
      URL is http://localhost:8080/web/guest/search?apple=test&banana=test

      Note: Every time you change the keyword parameter the new keyword parameter is appended to the end of the older one but if you go to Liferay homepage and search then the URL is correct to the current Keyword Parameter

      Reproduced on:
      Tomcat 9.0.33 + MySQL 5.7 Portal Master GIT ID: 017df2f5eac8345f1ca13403db9ecd5209ec32d2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              brooke.dalton Brooke Dalton
              Participants of an Issue:
              Recent user:
              Brooke Dalton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                26 weeks, 4 days ago

                  Packages

                  Version Package