When creating a collapsed subprocess and then opening it, it can happen that the modeler starts alternating between the root layer and the subprocess layer while constantly reloading after a message pops up that the subprocess does not exist.
To Reproduce
Steps to reproduce the behavior:
Open the modeler
Add a task
Change the task to a collapsed subprocess
Quickly open the subprocess
Expected behavior
The subprocess plane should be opened. Optimally there is no reload of the modeler server component since that leads to a reimport of the process bpmn that is not necessary.
Describe the bug
When creating a collapsed subprocess and then opening it, it can happen that the modeler starts alternating between the root layer and the subprocess layer while constantly reloading after a message pops up that the subprocess does not exist.
To Reproduce Steps to reproduce the behavior:
Expected behavior
The subprocess plane should be opened. Optimally there is no reload of the modeler server component since that leads to a reimport of the process bpmn that is not necessary.
Screenshots
https://github.com/PROCEED-Labs/proceed/assets/58050428/204f6702-685a-4445-a3b6-0b345c3bfbb2
Desktop (please complete the following information):