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

Task identity links not updated when deleting candidates #3997

Open
JacekMiszczak opened this issue Dec 10, 2024 · 1 comment
Open

Task identity links not updated when deleting candidates #3997

JacekMiszczak opened this issue Dec 10, 2024 · 1 comment

Comments

@JacekMiszczak
Copy link
Contributor

Describe the bug
When the candidates of a task are modified, specifically deleted by calling org.flowable.task.service.delegate.DelegateTask#deleteCandidateUser, the list of identity links in the task object is not updated. What's worse, that persists through different task listeners.

Expected behavior
After calling org.flowable.task.service.delegate.DelegateTask#deleteCandidateUser I expect that org.flowable.task.service.delegate.DelegateTask#getCandidates will reflect the changes.

Code
org.flowable.task.service.delegate.DelegateTask#deleteCandidateUser
org.flowable.task.service.delegate.DelegateTask#getCandidates
org.flowable.task.service.impl.persistence.entity.TaskEntityImpl#getIdentityLinks

Additional context
Flowable version 7.1.0.27

@JacekMiszczak
Copy link
Contributor Author

I've created a pull request with a proposed solution: #3998

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

No branches or pull requests

1 participant