Skip to content

Commit

Permalink
Probably fixed MID-3141/MID-3094.
Browse files Browse the repository at this point in the history
(cherry picked from commit d480821)
  • Loading branch information
mederly committed Sep 21, 2016
1 parent e7d1ac2 commit fc71835
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -590,6 +590,12 @@ private <P extends ObjectType> List<P> prepareSubobject(List<FocusSubwrapperDto<
continue;
}

if (UserDtoStatus.MODIFY.equals(projection.getStatus())) {
// this is legal e.g. when child org is being create (one assignment comes pre-created)
// TODO do we need more specific checks here?
continue;
}

if (!UserDtoStatus.ADD.equals(projection.getStatus())) {
warn(getString("pageAdminFocus.message.illegalAccountState", projection.getStatus()));
continue;
Expand Down

0 comments on commit fc71835

Please sign in to comment.