Defect #3012
closedRole approval fails after identity username is changed
100%
Description
Affected version: 11.2.2 (probably all since 7.8.0)
Steps to reproduce:
Create role with approval workflow approve-role-by-guarantee.
Assign role to identity.
Change identity username.
Log in as approver.
Approve task.
Task is not approved, Internal server error message is shown.
Information in server log.
org.activiti.engine.ActivitiException: problem evaluating script: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getId() on null object
Updated by Luboš Čábelka over 2 years ago
- Assignee changed from Luboš Čábelka to Peter Štrunc
- % Done changed from 0 to 80
Fixed loading applicant by uuid instead of username.
Added test for this scenario.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/1d1123143bb031a5bc4df1293ac340dd3fc52687
Peter can you do review please?
Updated by Peter Štrunc over 2 years ago
- Status changed from In Progress to Needs feedback
Updated by Peter Štrunc about 2 years ago
- Status changed from Needs feedback to Resolved
- % Done changed from 80 to 100
LGTM thanks. I merged it to develop here https://github.com/bcvsolutions/CzechIdMng/pull/161
Updated by Peter Štrunc about 2 years ago
- Status changed from Resolved to Closed