Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-1563

Unlink and resource dependencies

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2 (Crius)
    • 2.2 (Crius)
    • Model
    • None
    • git-midpoint-2.2rc2-34-g1c09117

    Description

      1. Resource A depends on Resource B (Strict)
      2. user has both accounts created (added, not assigned)
      3. I unlink account on Resource B and save.
      4. I unlink account on Resource A and save:

      com.evolveum.midpoint.model.api.PolicyViolationException: Unsatisfied strict dependency of account Discr(account (default) on 10000000-9999-9999-0000-a000ff000004) dependent on Discr(account (default) on 10000000-9999-9999-0000-a000ff000003): Account not provisioned
      at com.evolveum.midpoint.model.lens.projector.Projector.determineAccountWave(Projector.java:366)
      at com.evolveum.midpoint.model.lens.projector.Projector.sortAccountsToWaves(Projector.java:321)
      at com.evolveum.midpoint.model.lens.projector.Projector.project(Projector.java:136)
      at com.evolveum.midpoint.model.lens.Clockwork.click(Clockwork.java:149)
      at com.evolveum.midpoint.model.lens.Clockwork.run(Clockwork.java:110)
      at com.evolveum.midpoint.model.controller.ModelController.executeChanges_aroundBody2(ModelController.java:384)
      at com.evolveum.midpoint.model.controller.ModelController$AjcClosure3.run(ModelController.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.wrapSubsystem(MidpointAspect.java:169)
      at 
      

      midPoint should either not allow unlinking, or it should not enforce the dependency in such cases. Whichever is more appropriate.

      Attachments

        Activity

          People

            vix Ivan Noris
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: