Details
-
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Master
-
3
-
Regression Bug
Description
Description:
There are multiple issues with the custom Index Query Preprocessor
- Field Name Patters include "emailAddress" multiple times
- Adding a new field pattern replaces all other fields
- Typing a new field pattern empties all other fields
- Saving a new field pattern replaces all other fields
- Only the bottom-most Field Name Pattern "Delete" and "Add" buttons work
Steps to reproduce:
- Go to Control Panel > Configuration > System Settings > Search > Index Query Preprocessor
- Notice emailAddress is duplicated multiple times
- Try Adding a new pattern by clicking the '+' button in the top field (does nothing)
- Try Deleting an emailAddress pattern by clicking the 'trash' icon in the top field (does nothing)
- Scroll down to "userName" pattern > click the '+' icon (adds a field but replaces all other fields with "userName")
- Type 'test' in the new field area (empties other fields)
- Press 'Save' (all fields replaced with 'test')
- 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