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

Discount qualifiers query wrong filters

    Details

      Description

      Case 1:

      1) Create a site (site1)

      2) Create 2 accounts (account1, account2) in site1

      4) Create a discount

      5) Qualify the discount to be used in channel1 (site1) and account1

      Expected Result: the discount is not applied to account2

       

      Case 2:

      1) Create a site (site1)

      2) Create another site (site2)

      3) Create 1 accounts (account1) with account1 in both site1 and site2

      4) Create a discount

      5) Qualify the discount to be used in in channel1 by account1

      Expected Result: the discount is not applied for account1 in site2

       

      Case 3:

      1) Create a site (site1)

      2) Create another site (site2)

      3) Create 2 accounts (account1, account2) with account1 in site1 and account2 in site2

      4) Create 2 discounts (discount1, discount2)

      5) Qualify discount1 to be used in channel1 by account1 and discount2 to be used in channel2 by account2

      Expected Result: each account sees only his discount in his channel

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alessandro.iovane Alessandro Iovane
              Reporter:
              riccardo.alberti Riccardo Alberti
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4 CE GA1
                  Master
                  7.1.x
                  7.4.x