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

User Sites not updated upon account removal

    Details

      Description

      Description: User Account/Site Membership not updated upon account removal.

      Steps to reproduce: 

      • Create a Minium site: name it "Commerce Site"
      • Create an account: "Test Account"
      • Create a new user: "Jane Doe"
      • Add "Commerce Site" membership to "Jane Doe"
      • Add "Jane Doe" as user to "Test Account"
      • In accounts, add "Buyer" role to "Jane Doe"
      • Check that the "Buyer" role appears as a Site Membership in "Jane Doe's" Site  Memberships
      • Delete "Test Account"
      • Check that the "Buyer" role no longer appears as a Site Membership in "Jane Doe's" Site Memberships

       

      Detailed steps:

      1. Create a Minium site: Control panel > Sites > Sites > Add a Site > Select "Minium" > Name it "Commerce Site"
      2. Create an account: Control panel > Users > Accounts > Add an Account > "Test Account" > Save
      3. Create a new user: Control panel > Users > Users & Organizations > Add User > Fill out required fields (will call user Jane Doe, for example) > Save
      4. Select Jane Doe > Memberships > Site Memberships > Select "Commerce Site" > Save
      5. Go to Control panel > Users > Accounts > "Test Account" > Users > Add Jane Doe as user > Save
      6. Click on the three dots to the right of Jane Doe user, select "Edit Roles" > select Buyer > Save
      7. Check that the "Buyer" role appears as a Site Membership under Control panel > Users > Users & Organizations > Jane Doe > Memberships
      8. Delete the "Test Account": Control panel > Users > Accounts > three dots to the right of "Test Account" > Delete account
      9. Check that the "Buyer" role no longer appears as a Site Membership under Control panel > Users > Users & Organizations > Jane Doe > Memberships

       Expected Results: 

      • "Test Account" and "Buyer role" no longer appear since the account was deleted.

       Actual Results:

      • The deleted account still appears under site memberships. 

       

      Test Account still appears after deletion. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lorenzo.lapescara Lorenzo La Pescara
              Reporter:
              ekaterina.nesterovich Ekaterina Nesterovich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.1.1