Bug 32555

Summary: [Patch] Problems editing documents
Product: Lenya Reporter: Doug Chestnut <dhc4z>
Component: Form EditorAssignee: Lenya Developers <dev>
Status: RESOLVED INVALID    
Severity: normal CC: dev
Priority: P1 Keywords: PatchAvailable
Version: Trunk   
Target Milestone: 1.2.1   
Hardware: Other   
OS: AIX   

Description Doug Chestnut 2004-12-07 05:50:53 UTC
Index: edit-document.js
===================================================================
--- edit-document.js    (revision 109934)
+++ edit-document.js    (working copy)
@@ -40,6 +40,7 @@
     try {
         var flowHelper = new FlowHelper();
         var resolver = cocoon.getComponent(SourceResolver.ROLE);
+
         var dstUri =
flowHelper.getPageEnvelope(cocoon).getDocument().getSourceURI();
         
         SourceUtil.copy(resolver, cocoon.parameters["sourceUri"], dstUri,
_getParameter("useBuffer", "false") == "true");
@@ -56,7 +57,9 @@
             cocoon.redirectTo(_getParameter("redirectUrl", "FIXME"));
         
     } catch (exception) {
+
         cocoon.log.error("Can not edit document.", exception.toString());
+
     } finally {
         if(resolver != null)
             cocoon.releaseComponent(resolver);
Comment 1 Andreas Kuckartz 2004-12-07 08:56:02 UTC
Added dev@lenya.apache.org to CC-list.
Comment 2 Andreas Kuckartz 2004-12-07 09:00:16 UTC
Not sure if that patch applies to 1.4 and 1.2.1.
Comment 3 Rolf Kulemann 2004-12-07 10:46:21 UTC
I can not seee what this patch does at all, since only empty lines are added.
However, can someone please add a bug description? I want to reproduce the problem