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

Users can create duplicate Synonym Set entries and update other Synonym Sets unintentionally

    Details

      Description

      Solution notes

      • It is still possible to create different synonym sets with duplicate synonym words though the editing no longer affects the other sets
      • Example behavior: Having 2 sets: "apple, fruit" and "phone, apple". Searching for apple returns results that have either "apple", "fruit" or "phone". Searching for "fruit" though returns results with "apple" or "fruit".

      Steps to reproduce:

      1. Navigate to Control Panel > Configuration > Search Tuning
      2. Add a new synonym set entry "apple, fruit"
      3. Attempt to add another new synonym set entry with the same values "apple, fruit"

      Expected result: User should be prevented from adding a duplicate entry.

      Actual result: The duplicate entry is added. The duplication can happen multiple times by adding more entries. Any subsequent changes to any one of the duplicated entries will merge all of duplicated entries back into a single one with the changes applied.

      Reproduced on:
      Portal master-private Git ID: 8aa8225ed15f83a47db04881c98b101d9cf07baf

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  37 weeks, 2 days ago

                  Packages

                  Version Package
                  Master