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

Minium breaks if a buyer user logs in when an order created by the admin is present

    Details

      Description

      ASSUMPTION

      • Minium (for convenience);
      • Account;
      • Buyer user associated with the account

      If you're not using the Minium Full Demo pack, You'll need to do the following:

      1. From Minium's frontend go the the Account Management page
      2. Go to the Member Tab and open the Invite User modal, We'll invite the user "hi@liferay.com"
      3. After inviting this user, Click on the action items on that users row and View
      4. At the bottom of the page open the Roles modal and assign Buyer
      5. This sets you up to continue with Step 3 below

      STEPS

      1. As admin (Test Test), log in and add a Minium's product to the cart in order to create an order;
      2. Log out;
      3. Log in as the buyer user;
      4. Reach Minium

      EXPECTED BEHAVIOR
      Minium not breaking. Not sure if the buyer user should be allowed to see the admin's order.

      ACTUAL BEHAVIOR
      Minium breaks with ERROR 500 (https://gist.github.com/iovaneale/f31557c9d2df3d02c09d89935769f39e)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kristin.onias Kristin Onias
                Reporter:
                alessandro.iovane Alessandro Iovane
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  2.1.0