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

Fix task listeners spec #91

Merged
merged 4 commits into from
Dec 2, 2024
Merged

Fix task listeners spec #91

merged 4 commits into from
Dec 2, 2024

Conversation

philippfromme
Copy link
Collaborator

Related to #88.

@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Dec 2, 2024
@philippfromme philippfromme requested a review from barmac December 2, 2024 13:40
Comment on lines +105 to +107
bpmnReplace.replaceElement(el, {
type: 'bpmn:UserTask'
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@misiekhardcore please have a look at how bpmnReplace API works. So we give a kind of an element descriptor for the target element, and not an element from a diagram.
I missed that in the review.

@barmac barmac merged commit 9ededd5 into main Dec 2, 2024
5 checks passed
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Dec 2, 2024
@barmac barmac deleted the fix-fix branch December 2, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants