My Oracle Support Banner

Using "remove-all-assets" RQL Query on a Versioned Repository Throws Error: "atg.repository.RepositoryException: current development line null is not an open workspace" (Doc ID 2278070.1)

Last updated on MARCH 16, 2020

Applies to:

Oracle Commerce Platform - Version 11.0 and later
Information in this document applies to any platform.


Deleting repository data (as described in this documentation page) fails: Repository Guide -> SQL Repository Reference -> SQL Repository Definition Tag Reference -> <remove-all-items>

The <remove-all-items> tag is a procedural tag for removing all items in the repository. This tag is enabled only if the system property atg.allowRemoveAllItems is set on application startup. 
You can set this property by adding -Datg.allowRemoveAllItems to the JAVA_ARGS in your <ATG11dir>/home/localconfig/environment.bat or file.


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

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