bpmn-js
bpmn-js copied to clipboard
Task headers get lost when switching to User Task
Describe the Bug If you add task headers to a Service Task/Send Task/Script Task and change the element to a User Task, the task headers are gone. This is inconsistent in comparison to e.g. changing a Service Task to a Send Task where the headers are kept
Steps to Reproduce
- Create a Camnuda 8 BPMN diagram
- Create a Service Task
- Add headers to the service task
- Use wrench menu to change Service Task to a Send Task
- Notice that the task headers are copied over from the Service Task
- Use wrench menu to change Send Task to a User Task
- Notice that the headers were removed
Note that this only happens in this direction. If you add headers to a user task and then change it to a service task, then the headers are kept
Expected Behavior
Headers are kept
Environment
- Browser: Firefox
- OS: Ubuntu 21.04
- Library version: Desktop Modeler 5.0.0, current web modeler