Skip to content

Commit

Permalink
Fixed failing test (focus policy state is now not updated if the oper…
Browse files Browse the repository at this point in the history
…ation is deletion)
  • Loading branch information
mederly committed Sep 7, 2017
1 parent 27f029b commit 1baee2a
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -171,8 +171,10 @@ public <O extends ObjectType> boolean executeChanges(LensContext<O> context, Tas
if (focusContext != null) {
ObjectDelta<O> focusDelta = focusContext.getWaveExecutableDelta(context.getExecutionWave());

focusDelta = policySituationUpdater.applyAssignmentSituation(context, focusDelta);
policySituationUpdater.storeFocusPolicySituation(context);
if (!focusContext.isDelete()) {
focusDelta = policySituationUpdater.applyAssignmentSituation(context, focusDelta);
policySituationUpdater.storeFocusPolicySituation(context);
}

if (focusDelta != null) {

Expand Down

0 comments on commit 1baee2a

Please sign in to comment.