-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X EE, Master
-
Fix Version/s: 7.0.0 DXP FP28, 7.0.X EE, 7.0.4 CE GA5, 7.1.X, Master
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:4
-
Git Pull Request:
Reference imports are not working for Organizations specifically. Thus, depending on how the Organization hierarchy was created, child Organizations may be imported in the wrong order, causing various unexpected behaviors.
Steps to reproduce:
- Set up two Liferay DXP bundles
- On the first bundle, navigate to Control Panel -> Users and Organizations, and go to Organizations
- Add a regular Organization (PO1)
- Add another Organization, and set the parent to the one previously added (PO1)
- Add yet another Organization (PO2)
- Optional: if you export a LAR at this step or prior steps, then importing it later will work, because the order will coincidentally be correct
- Under the very first Organization (PO1), edit the child Organization and change its parent to the newest one (PO2)
- Export a LAR of the Organizations
- Switch to the second bundle, navigate back to Organizations in the Control Panel, and import the LAR
Expected result: the import is successful and the child Organization has the correct parent Organization (PO2
Actual result: the import is successful, but the child Organization no longer has a parent
Reproduced in master: 5ccaa639070b7750bd25b8936c612ba58a2520f8
Reproduced in ee-7.0.x: 48db1a2f4460b8f3f38078bf3674907cace7b420
- is caused by
-
LPS-50145 Apply automatic reference importing to OrganizationSMDH
- Closed