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

Dead shadow cannot be removed using GUI (User editor)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0
    • 4.0
    • GUI
    • None
    • MID-102 training

    • git-v4.0devel-1591-g28ae500

    Description

      1. user has been synchronized from a Contractor DB originally
      2. the account in the source has been deleted, user has been disabled, the projection is still there as dead shadow
      3. deleting of dead shadow (projection) is not possible. No error is reported, but the shadow is there forever.
      4. notification is sent that deletion of the account was successful (The account has been successfully removed from the resource.)
      5. the shadow is in repository, linkref is there, pointing to the shadow

      <shadow xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" oid="84d321e3-a997-48f7-97b1-fa44eab3e795" version="15">
          <name>dd9cadba-31ca-11e8-aad1-db224af6b480</name>
          <metadata>
              <modifyTimestamp>2019-06-25T12:34:14.457+02:00</modifyTimestamp>
              <modifierRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType"/>
              <modifyChannel>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#liveSync</modifyChannel>
              <modifyTaskRef oid="6312eee7-e64b-40f9-b3c0-ae225c01f66d" relation="org:default" type="c:TaskType"/>
          </metadata>
          <operationExecution id="3">
              <timestamp>2019-06-25T12:34:59.392+02:00</timestamp>
              <status>success</status>
              <initiatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType"/>
              <taskRef oid="6312eee7-e64b-40f9-b3c0-ae225c01f66d" relation="org:default" type="c:TaskType"/>
              <channel>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#liveSync</channel>
          </operationExecution>
          <operationExecution id="4">
              <timestamp>2019-06-26T10:23:35.969+02:00</timestamp>
              <status>success</status>
              <initiatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType"/>
              <taskRef oid="c10d2e6c-6aee-4c5b-8c2c-0ba0e8a7d1ce" relation="org:default" type="c:TaskType"/>
              <channel>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#recompute</channel>
          </operationExecution>
          <operationExecution id="5">
              <timestamp>2019-06-26T12:07:14.056+02:00</timestamp>
              <operation>
                  <objectDelta>
                      <t:changeType>delete</t:changeType>
                      <t:objectType>c:ShadowType</t:objectType>
                  </objectDelta>
                  <executionResult>
                      <operation>com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeDelta</operation>
                      <status>success</status>
                      <token>1000000000000286140</token>
                  </executionResult>
                  <objectName>dd9cadba-31ca-11e8-aad1-db224af6b480</objectName>
                  <resourceOid>ff735c0a-21e3-11e8-a91a-df0065248d2d</resourceOid>
                  <resourceName>ExAmPLE, Inc. Contractor DB</resourceName>
              </operation>
              <status>success</status>
              <initiatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType"/>
              <channel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</channel>
          </operationExecution>
          <operationExecution id="6">
              <timestamp>2019-06-26T12:10:12.058+02:00</timestamp>
              <operation>
                  <objectDelta>
                      <t:changeType>delete</t:changeType>
                      <t:objectType>c:ShadowType</t:objectType>
                  </objectDelta>
                  <executionResult>
                      <operation>com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeDelta</operation>
                      <status>success</status>
                      <token>1000000000000287926</token>
                  </executionResult>
                  <objectName>dd9cadba-31ca-11e8-aad1-db224af6b480</objectName>
                  <resourceOid>ff735c0a-21e3-11e8-a91a-df0065248d2d</resourceOid>
                  <resourceName>ExAmPLE, Inc. Contractor DB</resourceName>
              </operation>
              <status>success</status>
              <initiatorRef oid="00000000-0000-0000-0000-000000000002" relation="org:default" type="c:UserType"/>
              <channel>http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user</channel>
          </operationExecution>
          <resourceRef oid="ff735c0a-21e3-11e8-a91a-df0065248d2d" relation="org:default" type="c:ResourceType"/>
          <dead>true</dead>
          <synchronizationSituation>deleted</synchronizationSituation>
          <synchronizationTimestamp>2019-06-25T12:34:59.302+02:00</synchronizationTimestamp>
          <fullSynchronizationTimestamp>2019-06-25T12:34:59.302+02:00</fullSynchronizationTimestamp>
          <synchronizationSituationDescription>
              <situation>deleted</situation>
              <timestamp>2019-06-25T12:34:59.302+02:00</timestamp>
              <channel>http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#liveSync</channel>
              <full>true</full>
          </synchronizationSituationDescription>
          <objectClass>ri:AccountObjectClass</objectClass>
          <kind>account</kind>
          <intent>default</intent>
          <exists>false</exists>
          <iteration>0</iteration>
          <iterationToken/>
          <attributes>
              <ri:cid>dd9cadba-31ca-11e8-aad1-db224af6b480</ri:cid>
          </attributes>
          <activation/>
      </shadow>
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: