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

Repository pages cannot access Shadow objects if the corresponding resource is no more in repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1, 4.0.3
    • Component/s: None
    • Labels:
      None
    • Subscription:
      Internal
    • Backport Version:

      Description

      I have one resource (CSV) - used one of our samples from midpoint-samples. The resource csv file contains some entries already.

      I run reconciliation so the shadows are created.

      I delete resource from midpoint

      I go to Repository objects - Shadows - the shadows cannot be accessed.

      2020-03-25 12:36:45,260 [PROVISIONING] [http-nio-8080-exec-6] ERROR (com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl): Resource object not found
      com.evolveum.midpoint.util.exception.ObjectNotFoundException: Object of type 'ResourceType' with oid 'ef2bc95b-76e0-59e2-86d6-9999cccccccc' was not found.
              at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.throwObjectNotFoundException(ObjectRetriever.java:220)
              at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.getObjectInternal(ObjectRetriever.java:194)
              at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.getObjectAttempt(ObjectRetriever.java:98)
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.lambda$getObject$0(SqlRepositoryServiceImpl.java:151)
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.executeAttempts(SqlRepositoryServiceImpl.java:169)
              at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.getObject(SqlRepositoryServiceImpl.java:150)
              at com.evolveum.midpoint.repo.cache.RepositoryCache.getObjectInternal(RepositoryCache.java:408)
              at com.evolveum.midpoint.repo.cache.RepositoryCache.loadAndCacheObject(RepositoryCache.java:1755)
              at com.evolveum.midpoint.repo.cache.RepositoryCache.getObject(RepositoryCache.java:309)
              at com.evolveum.midpoint.provisioning.impl.ResourceManager.readResourceFromRepository(ResourceManager.java:136)
              at com.evolveum.midpoint.provisioning.impl.ResourceManager.getResource(ResourceManager.java:128)
              at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.getObject(ProvisioningServiceImpl.java:181)
              at com.evolveum.midpoint.model.impl.ModelObjectResolver.getObject(ModelObjectResolver.java:142)
              at com.evolveum.midpoint.model.impl.controller.ModelController.getObject(ModelController.java:221)
              at com.evolveum.midpoint.web.component.data.RepositoryObjectDataProvider.loadDescription(RepositoryObjectDataProvider.java:136)
              at com.evolveum.midpoint.web.component.data.RepositoryObjectDataProvider.createItem(RepositoryObjectDataProvider.java:115)
              at com.evolveum.midpoint.web.component.data.RepositoryObjectDataProvider.internalIterator(RepositoryObjectDataProvider.java:76)
              at com.evolveum.midpoint.web.component.data.BaseSortableDataProvider.iterator(BaseSortableDataProvider.java:281)
              at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:107)
              at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:74)
              at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:99)
              at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:93)
              at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:124)
              at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:113)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vix Ivan Noris
              Reporter:
              vix Ivan Noris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: