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

Previous Order getting overwritten by newly placed order

    Details

      Description

      When placing a new order, sometimes the new order overwrites a previously placed order.

      Assumptions

      1. Products with available inventory in catalog 

      Steps to Reproduce

      1. Go to the catalog, find any product with available quantity, add to cart, and place order.
      2. Go to Control Panel > Commerce > Orders, find the order just placed and note the order ID.
      3. Go to the catalog, find any product (or the same product) with available quantity, add to cart, and place order.
      4. Go to Control Panel > Commerce > Orders, and find the order just placed.

      Expected Result

       A new order containing the product last ordered appears under Orders.

      Actual Result

       No new order containing the product last ordered appears under Orders.

       The first order was updated with the second order's item.

      Placed an order for this product twice in a row (1st time ordering it on 4/27)

       

      3 previous orders got modified

      Only 1 order found that was created on 4/27

      Next, placed an order for a different product (BEJ92F300M) and it updated the previous order still

      Order item no longer found for the original product

      Reproduced on

      Tomcat 9.0.6 + MySQL 5.7

      Portal 7.1.10 GA1 fix pack 17 

      Commerce 2.1 RC 6

       

        Attachments

          Activity

            People

            Assignee:
            jaclyn.ong Jaclyn Ong (Inactive)
            Reporter:
            jaclyn.ong Jaclyn Ong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2.1.1