On Wed, 2007-05-16 at 08:05 -0700, [EMAIL PROTECTED] wrote:
...
> src/modules-core/ac/java/src/org/apache/lenya/cms/ac/DocumentPolicyManagerWrapper.java
>
> ===================================================================
> ---
> src/modules-core/ac/java/src/org/apache/lenya/cms/ac/DocumentPolicyManagerWrapper.java
> (revision 537897)
> +++
> src/modules-core/ac/java/src/org/apache/lenya/cms/ac/DocumentPolicyManagerWrapper.java
> (working copy)
> @@ -104,7 +104,7 @@
> String prefixWithArea = prefix + ((area != null) ? area : "");
> // String prefixWithArea = prefix + area;
> String authoringUrl = prefix + Publication.AUTHORING_AREA
> - + webappUrl.substring(prefixWithArea.length());
> + +
> ((webappUrl.length()>prefixWithArea.length())?webappUrl.substring(prefixWithArea.length()):"/");
>
>
> if (map.isDocument(authoringUrl)) {
> Document authoringDoc = map.getFromURL(authoringUrl);
>
> This patch brings back the auth dialog but now it fails to find the flow.
Caused by: org.mozilla.javascript.WrappedException: Wrapped
java.lang.IllegalStateException: No transition found for event
[lockInvolvedObjects] in state [start]!
(file:/home/thorsten/src/apache/lenya-1.4.x/build/lenya/webapp/lenya/modules/webdav/webdav.js#183)
at
org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1693)
The line which he is complaining is:
usecase.lockInvolvedObjects();
Somebody an idea why and how we can fix it?
TIA for any tips.
salu2
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]