Skip to content

Commit

Permalink
Fixing weak construction (MID-3662)
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jan 18, 2017
1 parent 6143293 commit 13ef291
Show file tree
Hide file tree
Showing 4 changed files with 729 additions and 13 deletions.
Expand Up @@ -659,7 +659,8 @@ private <F extends FocusType> void processAssignmentsProjectionsWithFocus(LensCo
projectionContext.setAssignedOld(true);

// SITUATION: The projection is both ASSIGNED and UNASSIGNED
} else if (constructionMapTriple.getPlusMap().containsKey(rat) && constructionMapTriple.getMinusMap().containsKey(rat)) {
} else if (constructionMapTriple.getPlusMap().containsKey(rat) && constructionMapTriple.getMinusMap().containsKey(rat) &&
plusConstructionPack.hasStrongConstruction()) {
// Account was removed and added in the same operation. This is the case if e.g. one role is
// removed and another is added and they include the same account.
// Keep original account state
Expand Down

0 comments on commit 13ef291

Please sign in to comment.