Upload of Content Presenter Template As Portal Asset Fails With Error Unable To Upload The Asset As The Archive Does Not Contain An Asset That Belongs To This Portal

(Doc ID 1988530.1)

Last updated on OCTOBER 25, 2016

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.6 and later
Information in this document applies to any platform.

Symptoms

Content presenter templates can be uploaded to the shared assets in a WebCenter Portal 11.1.1.8.6 installation without any problems. When uploading the same content presenter template to the Content Presenter Templates section in the Look and Layout section within the assets of a specific portal (formerly space), an error occurs :

 Unable to upload the asset as the archive does not contain an asset that belongs to this portal

At the same time, an error is logged in the WC_Spaces-diagnostics.log file :

<Feb 25, 2015 6:54:04 PM IST> <Error> <oracle.webcenter.lifecycle.siteresource.operation.SiteResourceValidateImportOperation> <WCS-12045> <Operation aborted because of an exception thrown by subunit (oracle.webcenter.lifecycle.siteresource.metadata.MetadataUnit) oracle.webcenter.lifecycle.LifecycleException: Unable to upload the asset as the archive does not contain an asset that belongs to this portal.
at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.AbstractDefaultSiteResourceLifecycleHandler.doValidateImport(AbstractDefaultSiteReso urceLifecycleHandler.java:1047)
at oracle.webcenter.lifecycle.siteresource.metadata.MetadataUnit.doValidateImport(MetadataUnit.java:194) at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceValidateImportOperation.doValidateImport(SiteResourceValidateImportOperation.java:107)
at oracle.webcenter.lifecycle.LifecycleSiteResourceService.doValidateImport(LifecycleSiteResourceService.java:139) at oracle.webcenter.lifecycle.LifecycleSiteResourceService.doValidateImport(LifecycleSiteResourceService.java:110)
at oracle.webcenter.lifecycle.view.siteresource.LifecycleSRMImport.doImport(LifecycleSRMImport.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1415) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181) at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181) at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:181)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:434)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms