]
Huisheng Xu resolved JBPM-2641.
-------------------------------
Fix Version/s: jBPM 4.4
Resolution: Done
taskService.addTaskParticipatingUser adds multiple participations for
a user
----------------------------------------------------------------------------
Key: JBPM-2641
URL:
https://jira.jboss.org/browse/JBPM-2641
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: JDK 1.6 HSQL
Reporter: Robert Moskal
Assignee: Huisheng Xu
Fix For: jBPM 4.4
Attachments: JBPM-2641.patch
Perhaps this is the intended behavior, but calling taskService.addTaskParticipatingUser
with the same user creates multiple participates:
taskService.addTaskParticipatingUser(_task.getId(), "boss_rigging",
Participation.CANDIDATE);
taskService.addTaskParticipatingUser(_task.getId(), "boss_rigging",
Participation.CANDIDATE);
assertEquals(1,taskService.createTaskQuery().candidate("boss_rigging").activityName("Investigate").list().size());
The query comes back with two tasks. This is somewhat surprising.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: