DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34994>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34994





------- Additional Comments From [EMAIL PROTECTED]  2007-05-16 08:05 -------
Created an attachment (id=20206)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20206&action=view)
fixing the first bug

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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to