https://issues.apache.org/bugzilla/show_bug.cgi?id=50722
Summary: Exception when trying to empty trash
Product: Lenya
Version: 2.0.4
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Site Management
AssignedTo: [email protected]
ReportedBy: [email protected]
On a fresh lenya 2.0.4 install, trying to empty the trash leads to (after
clicking on the delete button in the confirmation dialog):
java.lang.RuntimeException: The document
[test:trash:b005a910-315f-11e0-806c-93e5409e06ee:de] is not referenced in the
site structure.
at
org.apache.lenya.cms.publication.DocumentImpl.getLocator(DocumentImpl.java:508)
at
org.apache.lenya.cms.publication.DocumentManagerImpl.deleteAllLanguageVersions(DocumentManagerImpl.java:763)
at
org.apache.lenya.cms.publication.DocumentManagerImpl$DeleteVisitor.visitDocument(DocumentManagerImpl.java:791)
at
org.apache.lenya.cms.publication.DocumentImpl.accept(DocumentImpl.java:404)
at
org.apache.lenya.cms.publication.util.DocumentSet.visit(DocumentSet.java:131)
at
org.apache.lenya.cms.publication.DocumentManagerImpl.delete(DocumentManagerImpl.java:817)
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:592)
at
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
at $Proxy56.delete(Unknown Source)
at
org.apache.lenya.cms.site.usecases.EmptyTrash.doExecute(EmptyTrash.java:116)
at
org.apache.lenya.cms.usecase.AbstractUsecase.execute(AbstractUsecase.java:319)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]