Wrong task event generated when setting assignee to null

Description

When called


a task event (i.e. a CommentEntity) is generated with action set to Event.ACTION_ADD_GROUP_LINK.

There is a check missing inside org.activiti.engine.impl.cmd.AddIdentityLinkCmd that handles the case mentioned above correctly.
Maybe it is not intended to set the assignee of a task to null using this method, but it is not prohibited either.

There is a workaround:
Use

instead.

Environment

None

Assignee

Frederik Heremans

Reporter

Daniel Beer

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure