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

Item lost from mini cart when login with a new user

    Details

      Description

      Steps to reproduce:

      • Go to CP -> Sites -> Sites
      • Create a new site using Speedwell
      • Go to CP -> Commerce -> Channels
      • Enter the channel named "Speedwell Portal"
      • Activate a payment method(e.g MoneyOrder)
      • Enable Guest Checkout by clicking on the toggle named "Guest Checkout"
      • Click "Save" button
      • Assert that the Guest Checkout toggle is active
      • In Health Checks, click on "Fix Issue" on "Guest Checkout Authentication"
      • Save
      • Go to CP -> User and Organizations -> Users
      • Create a new user(buyer@liferay.com)
      • Go to Memberships -> Sites -> Click “Select” -> Click on “Speedwell”
      • Click “Save”
      • Go to Password -> Set a password
      • Click “Save”
      • Logout
      • Enter Speedwell site from URL http://localhost:8080/web/speedwell
      • Go to Speedwell topbar button -> Catalog
      • Add a product to cart(e.g. U-Joint) and select a quantity(e.g. 1)
      • Open Speedwell account dropdown
      • Click on “Sign In”
      • Login as an existing user(buyer@liferay.com)
      • Go to the Catalog page
      • Open the mini-cart
      • Assert that guest cart is transferred to account cart

      Actual result:
      Item in Mini Cart will be lost. If buyer is not the first time to login. The item in Mini Cart still exist as expect

      Catch by: https://testray.liferay.com/home/-/testray/cases/1263304172

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lorenzo.lapescara Lorenzo La Pescara
              Reporter:
              yunlin.sun Yunlin "Steven" Sun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4 CE GA1
                  Master