Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Discarded
-
7.2.X, Master
-
None
-
None
Description
During the testing of LPS-96929 we discovered that infinite loops can be introduced into the staging process easily when a portlet and a layout references each other. It happens because the BaseStageModelDataHandler checks if the current model has been processed in the current scope, but this scope is always cleared up whenever a new portlet is being processed. So exporting a layout, which exports it portlets causes the scope to be cleared up and after that if any portlet references the layout again the process starts an infinite loop.
The task is to refactor the scope handling to use a stack instead of a list and identify the process execution points where we need to push and pop this stack!
Attachments
Issue Links
- Discovered while testing
-
LPS-96929 Site template propagation not working
- Closed