Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-3914

Mishandling system object identifiers with slash character

    Details

    • Story Points:
      2
    • Sprint:
      OpenIDM Sprint 52, OpenIDM Sprint 53, OpenIDM Sprint 54

      Description

      When there is a system object with an identifier containing slash, OpenIDM at some point is not able to route requests for that object correctly.

      Aug 28, 2015 5:09:21 PM org.forgerock.openidm.sync.impl.ObjectMapping$2 recon
      WARNING: Unexpected failure during source reconciliation ca22d4e3-b3a5-492b-bea6-a10ea045c71b
      org.forgerock.openidm.sync.impl.SynchronizationException: Resource 'SDtwu/OhfR+SFmmqo5s7VxA==' not found
              at org.forgerock.openidm.sync.impl.ObjectMapping.updateTargetObject(ObjectMapping.java:611)
              at org.forgerock.openidm.sync.impl.ObjectMapping.access$1600(ObjectMapping.java:80)
              at org.forgerock.openidm.sync.impl.ObjectMapping$SyncOperation.performAction(ObjectMapping.java:1791)
              at org.forgerock.openidm.sync.impl.ObjectMapping$SourceSyncOperation.sync(ObjectMapping.java:2132)
              at org.forgerock.openidm.sync.impl.ObjectMapping$2.recon(ObjectMapping.java:1139)
              at org.forgerock.openidm.sync.impl.ObjectMapping$ReconTask.call(ObjectMapping.java:1265)
              at org.forgerock.openidm.sync.impl.ObjectMapping$ReconTask.call(ObjectMapping.java:1237)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.forgerock.json.resource.NotFoundException: Resource 'SDtwu/OhfR+SFmmqo5s7VxA==' not found
              at org.forgerock.json.resource.Router.getBestRoute(Router.java:366)
              at org.forgerock.json.resource.Router.handleUpdate(Router.java:288)
              at org.forgerock.openidm.provisioner.openicf.impl.OpenICFProvisionerService$ObjectClassRequestHandler.handleUpdate(OpenICFProvisionerService.java:1161)
              at org.forgerock.json.resource.Router.handleUpdate(Router.java:292)
              at org.forgerock.json.resource.FilterChain$Cursor.handleUpdate(FilterChain.java:117)
              at org.forgerock.json.resource.Filters$ConditionalFilter.filterUpdate(Filters.java:112)
              at org.forgerock.json.resource.FilterChain$Cursor.handleUpdate(FilterChain.java:115)
              at org.forgerock.json.resource.Filters$CrossCutFilterAdapter$7.handleContinue(Filters.java:214)
              at org.forgerock.openidm.core.filter.ScriptedFilter.filterGenericRequest(ScriptedFilter.java:172)
              at org.forgerock.json.resource.Filters$CrossCutFilterAdapter.filterUpdate(Filters.java:211)
              at org.forgerock.json.resource.Filters$ConditionalFilter.filterUpdate(Filters.java:110)
              at org.forgerock.json.resource.FilterChain$Cursor.handleUpdate(FilterChain.java:115)
              at org.forgerock.json.resource.Filters$CrossCutFilterAdapter$7.handleContinue(Filters.java:214)
              at org.forgerock.openidm.core.filter.ScriptedFilter.filterGenericRequest(ScriptedFilter.java:172)
              at org.forgerock.json.resource.Filters$CrossCutFilterAdapter.filterUpdate(Filters.java:211)
              at org.forgerock.json.resource.FilterChain$Cursor.handleUpdate(FilterChain.java:115)
              at org.forgerock.openidm.audit.filter.AuditFilter.filterUpdate(AuditFilter.java:144)
              at org.forgerock.json.resource.Filters$ConditionalFilter.filterUpdate(Filters.java:110)
              at org.forgerock.json.resource.FilterChain$Cursor.handleUpdate(FilterChain.java:115)
              at org.forgerock.json.resource.Filters$CrossCutFilterAdapter$7.handleContinue(Filters.java:214)
              at org.forgerock.json.resource.Filters$UntypedCrossCutFilterAdapter$1.handleContinue(Filters.java:380)
              at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$3.filterGenericRequest(ServletConnectionFactory.java:514)
              at org.forgerock.json.resource.Filters$UntypedCrossCutFilterAdapter.filterGenericRequest(Filters.java:342)
              at org.forgerock.json.resource.Filters$CrossCutFilterAdapter.filterUpdate(Filters.java:211)
              at org.forgerock.json.resource.FilterChain$Cursor.handleUpdate(FilterChain.java:115)
              at org.forgerock.json.resource.FilterChain.handleUpdate(FilterChain.java:241)
              at org.forgerock.json.resource.Resources$InternalConnection.updateAsync(Resources.java:459)
              at org.forgerock.json.resource.AbstractAsynchronousConnection.update(AbstractAsynchronousConnection.java:144)
              at org.forgerock.json.resource.AbstractConnectionWrapper.update(AbstractConnectionWrapper.java:217)
              at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$1$1.update(ServletConnectionFactory.java:207)
              at org.forgerock.json.resource.AbstractConnectionWrapper.update(AbstractConnectionWrapper.java:217)
              at org.forgerock.openidm.sync.impl.ObjectMapping.updateTargetObject(ObjectMapping.java:603)
              ... 12 more
      

        Attachments

          Activity

            People

            • Assignee:
              alin Alin Brici
              Reporter:
              pavel.horal@orchitech.cz Pavel Horal [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: