Skip to content

Commit

Permalink
fix for cleanup processor, missing references not returned for connec…
Browse files Browse the repository at this point in the history
…torRef (when unresolved)
  • Loading branch information
1azyman committed Apr 2, 2024
1 parent 8ba40fc commit c22acb3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ private void processConnectorRef(CleanupEvent<PrismReference> event) {
try {
PrismObject<ConnectorType> connector = resolveConnector(oid);
if (connector == null) {
event.result().getMissingReferences().add(
new ObjectReferenceType()
.oid(oid)
.type(ConnectorType.COMPLEX_TYPE));

event.result().getMessages().add(
new CleanupMessage(
CleanupMessage.Status.WARNING,
Expand Down

0 comments on commit c22acb3

Please sign in to comment.