Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-4834

We should not allow price lists to be their own parent price list

    Details

    • Sprint:
      FlexSprint15

      Description

      Assumptions

      1. At least one price list in at lease one catalog

      Steps to Reproduce

      1. Create a price list and publish (e.g. Price List A)
      2. Edit the price list (Price List A)
      3. Assert that you can set the parent price list to the price list itself (Price List A)

      Expected Result

      Users are not allowed to set the price list as its own parent. In the list of available price lists to set as a parent, the current price list does not show up

      Actual Result

      Users are allowed to set the price list as their own parent.

      Notes

      • This is true of Price Lists and Sale Price lists. The same logic should apply for both.

      Reproduced On

      7.3

      Tomcat 9.0.37 + HSQL 2.3.3
      DXP 7.3 + Commerce liferay-commerce/liferay-portal:master git hash ab15fb32bd58e4f218c8270be54ba8a835e253b7

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kristin.onias Kristin Onias
              Reporter:
              corbin.murakami Corbin Murakami
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.3
                  Master