Skip to content

Commit

Permalink
fixing MID-5878
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Sep 30, 2020
1 parent 6a492b8 commit e6eadc9
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -150,7 +150,9 @@ public static <O extends ObjectType> List<ObjectReferenceType> createObjectRefer

for (PrismObject<O> object : objects) {
referenceMap.put(object.getOid(), WebComponentUtil.getName(object));
references.add(ObjectTypeUtil.createObjectRef(object, page.getPrismContext()));
ObjectReferenceType ref = ObjectTypeUtil.createObjectRef(object, page.getPrismContext());
ref.setTargetName(null); // this fixes MID-5878. the problem is, that ORT(type, targetName, oid) is not equal to ORT(type, oid)
references.add(ref);

}
return references;
Expand Down

0 comments on commit e6eadc9

Please sign in to comment.