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

Reorder of Placed Order when multiple accounts are in use

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 7.3.X
    • Fix Version/s: Master
    • Component/s: Order Management
    • Labels:
      None
    • Severity of Issue:
      Minor

      Description

      Parent ticket
      https://liferay-support.zendesk.com/agent/tickets/44221

      Issue
      Reorder logic looks to be incorrect when reordering a previously placed order.

      Steps to Reproduce
      Environment: liferay-dxp-7.3.10-ga1

      1. Start server and login with user Test Test
      2. Create a new Minium site named: MiniumABC

      3. Re-index the MiniumABC
      Control Panel > Search > Index Actions > Reindex all search indexes

      4. Create Account A:
      Control Panel > Accounts > Click Plus button
      Name: Account A
      Type: Business
      Active: Checked
      Save

      5. Create Account B:
      Control Panel > Accounts > Click Plus button
      Name: Account B
      Type: Business
      Active: Checked
      Save

      6. Go to MiniumABC Site > Catalog > Select Account A > Search Calipers > Add to Cart with quantity = 10 > Open Cart > Submit > Process order to completed stage

      7. Go to 'Placed Orders' and make sure this order is placed by Account A

      8. Switch to Account B > Search U-Joint > Add to Cart with quantity = 20

      9. Go to 'Placed Orders' > Click: View for the order placed by Account A > Press: REORDER > Process order to Order Summary

      Expected Result
      CSE: Request Commerce Team clarification on the expected results (a reorder of 10 calipers seems logical)

      Client Opinion:

      I think maybe this behavior mean can not REORDER Placed Order of another Account, but we need to change Expected behavior.
      When Click REORDER -> It should at least give an error screen.

      Actual Result
      The reorder process only includes the U-joints

      Reproduced in

      • DXP 7.3 GA1
      • 7.3.x (56b0e1697ce17ed4e399bbf2915b1b48d4a5b38c)

      Not Reproduced in

      • master (9f375528c91b2c745e13b92a25b67de3595523a3)

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marco.leo Marco Leo
              Reporter:
              piernicolo.pinna Pier Nicolò Pinna
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master