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

Search Index Query Preprocessor UI is Broken

    Details

    • Fix Priority:
      3

      Description

      Description:

      There are multiple issues with the custom Index Query Preprocessor

      1. Field Name Patters include "emailAddress" multiple times 
      2. Adding a new field pattern replaces all other fields 
      3. Typing a new field pattern empties all other fields
      4. Saving a new field pattern replaces all other fields
      5. Only the bottom-most Field Name Pattern "Delete" and "Add" buttons work

       
      Steps to reproduce:

      1. Go to Control Panel > Configuration > System Settings > Search > Index Query Preprocessor
      2. Notice emailAddress is duplicated multiple times
      3. Try Adding a new pattern by clicking the '+' button in the top field (does nothing)
      4. Try Deleting an emailAddress pattern by clicking the 'trash' icon in the top field (does nothing)
      5. Scroll down to "userName" pattern > click the '+' icon (adds a field but replaces all other fields with "userName")
      6. Type 'test' in the new field area (empties other fields)
      7. Press 'Save' (all fields replaced with 'test')
      8. Try deleting the bottom 'test' name field pattern (works)

       Expected Result:

      • Only one emailAddress pattern
      • User can use the `add` or `delete` buttons from any field
      • Addition or deletion of a field is independent of other fields

       Actual Result:

      • Multiple emailAddress patterns
      • User can only use the `add` or `delete` buttons from the bottom field
      • Addition or deletion of a field is causes issues with other fields

      Replicated on:

      Tomcat 9.0.17 + MySQL 5.7. Portal master GIT ID: 

      c51722ab06cf42a893c9c17064383593aaad7abe

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                25 weeks ago

                Packages

                Version Package
                Master