Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-69881

Assigning a Parent Organization to a non-immediate child will cause an infinite loop

    Details

      Description

      When assigning a parent organization to a non-immediate child organization (creating a cycle) the assignment process runs indefinitely until I stop the program.

      Steps to reproduce :

      1. Navigate to Test Test > My Account > My Organizations
      2. Create or Edit an existing Organization (A)
      3. Select a parent organization (B) for Organization A > Save
      4. Select a parent organization (C) for Organization B > Save
      5. Select Organization A as the parent organization for Organization C > Save

      Expected Result :
      "Your request failed to complete" and "Please enter a valid parent organization" errors. The organization does not assign the parent. No redirect.

      Actual Result :
      The page remains on the edit organization, running the action indefinitely. The organization does not assign the parent.

      Reproduced on :
      Master : 40050d9038a583c2d41af3a98af7cc7a74c38296

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raven.song Raven Song
                Reporter:
                spencer.woo Spencer Woo
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 44 weeks, 4 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP10
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master