User Task Assignments are not handled correctly if the value of an expression holds more than one group-id or user-id

Description

Let's say we have this user-task:
<userTask id="usertask1" name="Fix A Bug" activiti:candidateGroups="${taskGroups}"/>

and the variable value:

taskGroups = "management, accountancy"

the current code will consider it one group; it will not split the expression value by comma.

I fixed it, please have a look at the attached java class: added two lines (Line#77, Line#91)

Environment

None

Assignee

Nico Rehwaldt (camunda)

Reporter

Zaydoun Hammoud

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure