Skip to content

Commit

Permalink
npe on the org members panel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jan 27, 2023
1 parent 1f5105b commit 176fd1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ protected List<AssignmentObjectRelation> getDefaultNewMemberRelations() {
List<QName> newMemberObjectTypes = getNewMemberObjectTypes();
if (newMemberObjectTypes != null) {
newMemberObjectTypes.forEach(objectType -> {
List<QName> supportedRelation = getSupportedRelations();
List<QName> supportedRelation = new ArrayList<>(getSupportedRelations());
if (!UserType.COMPLEX_TYPE.equals(objectType) && !OrgType.COMPLEX_TYPE.equals(objectType)) {
supportedRelation.remove(RelationTypes.APPROVER.getRelation());
supportedRelation.remove(RelationTypes.OWNER.getRelation());
Expand Down

0 comments on commit 176fd1c

Please sign in to comment.