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

Clicking on a product or product group in the Price Modifier slide-out will erroneously remove the product

Details

    Description

      Assumptions

      1. Pricing engine V2.0
      2. One or more products
      3. One or more product groups

      Steps to Reproduce

      1. Go to Control Panel → Commerce → Pricing → Price Lists, or
        Control Panel → Commerce → Pricing → Promotions
      2. Create a promotion or a price list
      3. Create a price modifier with the Target as either Products or Product Groups
      4. Add either Products or Product Groups to the price modifier
      5. Click on either a product or product group

      Expected Behavior

      View the product or product group

      Actual Behavior

      Removes the product or product group

      Note

      Is there a reason why these tables don't support the View action? I'm assuming clicking on the Product or Product Group triggers a delete action because it's the only action available. We could solve this by allowing users to view the Product or Product group directly from the table. This would be an acceptable solution.

      Reproduced On

      7.1

      Tomcat 9.0.33 + HSQL 2.3.3
      marco-leo/liferay-portal-ee:7.1.x git hash f6228ce4798853c4074a36021934c732012b438f

      Attachments

        Issue Links

          Activity

            People

              lorenzo.lapescara Lorenzo La Pescara
              corbin.murakami Corbin Murakami (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  2.1.3
                  2.2.0