Skip to content

TaskService.getIdentityLinksForTask(taskId) #3467

@maratkalibek

Description

@maratkalibek

Describe the bug

TaskService.getIdentityLInksForTask(taskId) is duplicating IdentityLink in results. Looks like same IdentityLink added to list twice.

Expected behavior

TaskService.getIdentityLInksForTask(taskId) should not duplicate IdentityLink in results.

Code

image

Additional context

https://github.com/flowable/flowable-engine/blob/main/modules/flowable-task-service/src/main/java/org/flowable/task/service/impl/persistence/entity/TaskEntityImpl.java#L247-L270

Here, getCandidates method returns set, but getIdentityLinks returns map. So duplicates are removed for getCandidates method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions