My Oracle Support Banner

COLLECTION_DELETE_ALL Service Deletes All Content in Server if Folder Path is Invalid (Doc ID 1967072.1)

Last updated on DECEMBER 15, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms

Calling the service COLLECTION_DELETE_ALL with an invalid folder path deletes all content in the server. It should return without deleting anything since the folder parameter is invalid.

For example, calling this service will delete every content item in WebCenter Content (WCC) if the folder path of "/Contribution Folders/InvalidName" does not exist:

http://celvpint1505.us.oracle.com:16200/cs/idcplg?IdcService=COLLECTION_DELETE_ALL&dCollectionPath=/Contribution%20Folders/InvalidName&hasCollectionPath=true


An exception is returned as follows, but all content in the server is still deleted:

Event generated by user 'weblogic' at host 'celvpint1505.us.oracle.com:16200'. Unable to remove all content. One or more operations could not be completed.

Unable to remove all content. Unable to load folder 0.
Unable to remove all content. Unable to load folder 0. [ Details ]

An error has occurred. The stack trace below shows more information.

!csUserEventMessage,weblogic,celvpint1505.us.oracle.com:16200!$!csCollectionUnableToDeleteAll!csCollectionOneOrMore!$

!csCollectionUnableToDeleteAll!csCollectionUnableToLoad,0,!csEmpty!$
!csCollectionUnableToDeleteAll!csCollectionUnableToLoad,0
intradoc.common.ServiceException: !csCollectionUnableToDeleteAll!csCollectionOneOrMore!$

!csCollectionUnableToDeleteAll!csCollectionUnableToLoad,0,!csEmpty!$
!csCollectionUnableToDeleteAll!csCollectionUnableToLoad,0
*ScriptStack COLLECTION_DELETE_ALL
3:executeOnEach,dID=602,dDocName=WCCS1_000602
  at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2176)
  at intradoc.server.Service.buildServiceException(Service.java:2404)
  at intradoc.server.Service.createServiceExceptionEx(Service.java:2398)
  at intradoc.server.Service.createServiceException(Service.java:2393)
  at collections.HelperHandler.executeOnEach(HelperHandler.java:552)
  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 intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
  at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
  at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
  at intradoc.server.Service.doCodeEx(Service.java:622)
  at intradoc.server.Service.doCode(Service.java:594)
  at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1693)
  at intradoc.server.Service.doAction(Service.java:566)
  at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1483)
  at intradoc.server.Service.doActions(Service.java:561)
  at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1415)
  at intradoc.server.Service.executeActions(Service.java:547)
  at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:751)
  at intradoc.server.Service.doRequest(Service.java:1976)
  at intradoc.server.ServiceManager.processCommand(ServiceManager.java:486)
  at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
  at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1355)
  at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1732)
  at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:223)
  at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
  at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
  at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
  at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1680)
  at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
  at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
  at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
  at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
  at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
  at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
  at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
  at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
  at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
  at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
  at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.