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: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3
    • Sprint:
      Search|S03 Sprint 12|2.24-3.16, Search|S03 Sprint 13| 3.16-4.6

      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
        Immutable: Enabled
        
      3. Search for "test" and assert the Custom Filter field displays "apple"
      4. Append 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:
              timothy.pak Timothy Pak
              Reporter:
              timothy.pak Timothy Pak
              Participants of an Issue:
              Recent user:
              Timothy Pak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 3 weeks, 5 days ago

                  Packages

                  Version Package