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

Immutable custom filter displayed values can be modified via the URL

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Please note that this doesn't appear to have any functional impact, it only changes the displayed value.

      Steps to reproduce

      1. Navigate to the search page: http://localhost:8080/web/guest/search
      2. Add a Custom Filter widget with the following:
        Filter Value: apple
        Filter Query Type: Query String
        Occur: Filter
        Custom Parameter Name: parameter
        
      3. Assert the Custom Filter field displays "apple"
      4. Add the following to the URL and hit Enter:
        ?parameter=banana
        

      Expected Result
      Expected the field value to be "apple"

      Actual Result
      The field value is "banana"

      Reproduced on:
      Tomcat 9.0.17 + MySQL 5.7
      Portal master GIT ID: b4c0890a995af2912793ee3566ba58125d309ba0

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                timothy.pak Timothy Pak
                Participants of an Issue:
                Recent user:
                Tibor Lipusz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  9 weeks, 5 days ago

                  Packages

                  Version Package