<div dir="ltr">Hello everyone,<div><br></div><div>We're currently experiencing an issue with an LDAP driver throwing a Circular Dependency error when attempting to delete a provisioned user. We've configured the driver to be dependant on an Scripted SQL driver.</div><div><br></div><div>The error stacktrace (on debug) is the following: </div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1">2017-02-14 11:01:20,828 [] [http-bio-8080-exec-11] TRACE (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor): Determining wave for (deprovision): LensProjectionContext(ShadowType:d4178715-263b-4910-9d19-6205c9a91c09 on resource:00000000-0000-1de4-0002-000000000004(BANNER_PERSONAS))<br>2017-02-14 11:01:20,828 [] [http-bio-8080-exec-11] TRACE (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor): DEP(rev): com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDependencyType@c308d3b[strictness=STRICT,order=1,forceLoad=<null>,resourceRef=com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType@2ed5f95[_referenceValue=PRV(oid=00000000-0000-1de4-0002-000000000004, targetType={.../common/common-3}ResourceType, targetName=BANNER_PERSONAS)],kind=ACCOUNT,intent=default]<br>2017-02-14 11:01:20,829 [] [http-bio-8080-exec-11] TRACE (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor): Determining wave for (provision): LensProjectionContext(ShadowType:fe4caa26-8eb2-4dde-849d-601735a8cdbf on resource:00000000-0000-1de4-0002-000000000001(ACTIVE_DIRECTORY_LDAP))<br>2017-02-14 11:01:20,829 [] [http-bio-8080-exec-11] TRACE (com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor): DEP: com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceObjectTypeDependencyType@c308d3b[strictness=STRICT,order=1,forceLoad=<null>,resourceRef=com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType@2ed5f95[_referenceValue=PRV(oid=00000000-0000-1de4-0002-000000000004, targetType={.../common/common-3}ResourceType, targetName=BANNER_PERSONAS)],kind=ACCOUNT,intent=default]<br>2017-02-14 11:01:20,829 [] [http-bio-8080-exec-11] DEBUG (com.evolveum.midpoint.model.impl.lens.projector.Projector): Projector failed: Circular dependency, path: 00000000-0000-1de4-0002-000000000004(ACCOUNT/default). Etime: 58 ms<br>2017-02-14 11:01:20,885 [] [http-bio-8080-exec-11] ERROR (com.evolveum.midpoint.web.page.admin.users.PageUsers): Couldn't delete user.<br>com.evolveum.midpoint.util.exception.PolicyViolationException: Circular dependency, path: 00000000-0000-1de4-0002-000000000004(ACCOUNT/default)<br>        at com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.checkForCircular(DependencyProcessor.java:269) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWaveProvision(DependencyProcessor.java:130) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWave(DependencyProcessor.java:110) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWaveDeprovision(DependencyProcessor.java:208) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.determineProjectionWave(DependencyProcessor.java:107) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.projector.DependencyProcessor.sortProjectionsToWaves(DependencyProcessor.java:75) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:239) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:112) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:311) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:221) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:575) ~[model-impl-3.5.jar:na]<br>        at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:371) ~[model-impl-3.5.jar:na]<br>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121]</font></blockquote><div><br></div>Please note that <span style="font-size:x-small"><i>00000000-0000-1de4-0002-<wbr>000000000004</i> </span>stands for the resource's OID to which our Active Directory resource is dependant.</div><div><br></div><div>We're not sure why this is happening - it seems like the dependencyProcessor is reevaluating provisioning for the Active Directory projection and failing as the dependency was already deprovisioned.</div><div><br></div><div>Do you have any insights on this?</div><div><br></div><div>Thanks,</div><div><div><div class="gmail-m_-6328126898145331543gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><b>Rodrigo Yanis.</b><br><img src="http://www.identicum.com/img/favicon.ico">Identicum S.A.<br></font>Jorge Newbery 3226<br>Tel: +54 (11) 4824-9971<font face="arial, helvetica, sans-serif"><br><a href="mailto:ryanis@identicum.com" target="_blank"><font color="#0b5394">ryanis@identicum.com</font></a><br><a href="http://www.identicum.com/" target="_blank"><font color="#0b5394">www.identicum.com</font></a></font></div></div></div></div></div></div></div></div></div></div></div>
</div></div>