Skip to content

Commit

Permalink
MID-4417 fix (ObjectReferenceType extension attribute)
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jun 7, 2018
1 parent e127003 commit 0bab48d
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -455,6 +455,9 @@ public <O extends ObjectType> void collectModifications(ObjectDelta<O> delta) th
delta.addModification(pDelta);
}
} else if (itemWrapper instanceof ReferenceWrapper) {
if (containerPath.equals(ItemPath.EMPTY_PATH) && itemWrapper.getPath().getSegments().size() > 1){
containerPath = itemWrapper.getPath().allExceptLast();
}
ReferenceDelta pDelta = computeReferenceDeltas((ReferenceWrapper) itemWrapper, containerPath);
if (!pDelta.isEmpty()) {
delta.addModification(pDelta);
Expand Down

0 comments on commit 0bab48d

Please sign in to comment.