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

Exotic mapping interaction with multi-resource reconciliation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.2 (Tycho), 3.3 (Lincoln)
    • Fix Version/s: distant future
    • Component/s: None
    • Labels:
      None

      Description

      We have GREEN -inbound> USER --outbound-> DUMMY. normal mappings. We change value A to B on Green. Doing reconciliation (tasks).

      Reconciliation for third resource (BLUE) starts (the user has an account there):
      Wave 0: inbound from green takes nothing, because full account is not read (yet). So there is no outbound change.
      .... but .... we have one strong mapping on GREEN (other attribute), so side-effect is that full green account is read ...
      Wave 1: inbound found full green and maps value B to user. But green outbound is not run. Because GREEN context is set to wave=0 ... so there is no GREEN delta

      And then GREEN reconciliation starts.
      Wave 0: inbound from green takes value B, compares with user property. But there is already B. So, there is no delta. Mapping is normal, so reconciliation does nothing.
      ... and that where is stays ...

      See TestReconTask(AbstractSynchronizationStoryTest).test370ModifyDummyGreenAccountWally()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              semancik Radovan Semancik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: