Hi,

I'm evaluating Lenya 1.4. on Windows XP using Jetty. I checked it out using
SVN. Had a problem with the build  (similar to others on the list) not being
able to delete a file - this was the problem line:

<delete file="${build.webapp}/WEB-INF/cocoon.xconf.ant_patch"/>

Commented it out in Webapp-build and publets-build and things seem to work.
Except that now in the default publication I can't seem to delete pages. In
particular I tried deleting the "Features" page in the default pub and get
the following error:

==========
The event [delete] cannot be invoked on the document
[EMAIL PROTECTED] in the
situation [roles: edit]

org.apache.avalon.framework.CascadingRuntimeException:
"file:/C:/src/apache-lenya-1.4-dev-src/build/lenya/webapp/lenya/usecases/use
cases.js", line 168: uncaught JavaScript exception: at executeUsecase
(file:/C:/src/apache-lenya-1.4-dev-src/build/lenya/webapp/lenya/usecases/use
cases.js, Line 168): org.apache.lenya.cms.usecase.UsecaseException:
org.apache.lenya.workflow.WorkflowException: The event [delete] cannot be
invoked on the document
[EMAIL PROTECTED] in the
situation [roles: edit]

cause: org.apache.lenya.workflow.WorkflowException: The event [delete]
cannot be invoked on the document
[EMAIL PROTECTED] in the
situation [roles: edit]
===========

Anyone encountered this before? Solutions gratefully accepted :)


Thanks.



Allan Farrell


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to