Bug: Find the old user group by ID, not code

Assignee

Reporter

Labels

Sprint

Description

In Security#updateUserGroup, we look up the current group this way:
UserGroup oldGroup = findUserGroupByCode(group.getCode());

This approach fails with NullPointerException as soon as the group's code is modified. Use the ID instead.

Steps to reproduce

None

Activity

Show:
Fixed

Details

Time tracking

2h logged

Priority

QA Testing

UNDECIDED
Created October 11, 2023 at 9:32 AM
Updated October 12, 2023 at 7:56 AM
Resolved October 11, 2023 at 11:23 AM