Skip to content
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

SubProcess Activity change name in subProcess view causing unwanted label attribute to XML di node #2033

Closed
zeus6379 opened this issue Nov 27, 2023 · 3 comments · Fixed by #2076
Assignees
Labels
bug Something isn't working modeling

Comments

@zeus6379
Copy link

zeus6379 commented Nov 27, 2023

Describe the Bug

same issue in both bpmnjs and camunda modeler app.

when change subProcess`s name in subProcess view, bpmndi:BPMNPlane node in xml add unwanted label attribute, cause deployment of the process failed.
image

image

bpmn source file here, subProcess activity ID 「Activity_0ds7evi」:
定期合规披露.bpmn.zip

Steps to Reproduce

  1. enter modeler subProcess view
  2. use modeler dbclick to change subProcess name
  3. or use properties panel to change subProcess name
  4. check xml source and unwanted attrs 「label="[object object]"」

Environment

https://demo.bpmn.io

@zeus6379 zeus6379 added the bug Something isn't working label Nov 27, 2023
@nikku
Copy link
Member

nikku commented Nov 27, 2023

Please provide full context, including the bpmn-js version you're using.

@zeus6379
Copy link
Author

Please provide full context, including the bpmn-js version you're using.
you can use my bpmn file reproduce it on https://demo.bpmn.io/new, same issue on official Camunda Modeler https://camunda.com/download/modeler/

@nikku
Copy link
Member

nikku commented Nov 28, 2023

I can reproduce your issue with Camunda Modeler v5.17.0. Thanks for reporting.

The impact is that the diagram is then invalid BPMN 2.0 XML.

@nikku nikku added modeling ready Ready to be worked on labels Nov 28, 2023
@nikku nikku assigned nikku and unassigned nikku Nov 29, 2023
marstamm added a commit that referenced this issue Jan 10, 2024
@bpmn-io-tasks bpmn-io-tasks bot added in progress Currently worked on and removed ready Ready to be worked on labels Jan 10, 2024
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Jan 10, 2024
marstamm added a commit that referenced this issue Jan 10, 2024
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working modeling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants