-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C7 properties panel breaks when template variable assignment is disabled #4382
Comments
This is first broken in bpmn-io/bpmn-js-element-templates@86a3c03 |
I suspect bpmn-io/properties-panel@bb1cfb0 as there were no big changes in the templates project in the marked commit apart from |
The direct cause of the problem is an unhandled error in the rendering when we try to get |
I've just confirmed that the bug appears when #4382 (comment) is included. |
My current hypothesis is that the incorrect rerender is due to naive |
Setting random keys doesn't help. |
Today's findings from a session with @nikku :
|
This simplifies the existing open handling: * There is no need to compute `newlyAddedItemIds` (and cache it), instead we can just compute it from available data and use it immediately. * Removes most of the magic in this file (tm) (r) Related to camunda/camunda-modeler#4382
Turned out, as reported, to be a Fixed upstream via bpmn-io/properties-panel#369. |
This simplifies the existing open handling: * There is no need to compute `newlyAddedItemIds` (and cache it), instead we can just compute it from available data and use it immediately. * Removes most of the magic in this file (tm) (r) Related to camunda/camunda-modeler#4382
deps: update to @bpmn-io/[email protected] Related to camunda/camunda-modeler#4382
Closed through #4392 |
Describe the bug
C7 properties panel freezes when template variable assignment is disabled. The error thrown is related to the inputOutput missing unexpectedly, or outputParameter missing unexpectedly if there are more outputs on the element.
Steps to reproduce
Expected behavior
No crash.
Environment
Additional context
This is a regression.
SUPPORT-22412
The text was updated successfully, but these errors were encountered: