Skip to content

Commit

Permalink
Probably fixed MID-3141/MID-3094.
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Sep 21, 2016
1 parent 023fa2a commit d480821
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 d480821

Please sign in to comment.