You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2006/10/05 21:01:28 UTC

svn commit: r453316 - /lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java

Author: chestnut
Date: Thu Oct  5 12:01:27 2006
New Revision: 453316

URL: http://svn.apache.org/viewvc?view=rev&rev=453316
Log:
reload content during fckeditor save after xslt/before validation
Thanks to Richard Frovarp for catching this bug.
This should fix bug 40689

Modified:
    lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java

Modified: lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java?view=diff&rev=453316&r1=453315&r2=453316
==============================================================================
--- lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java (original)
+++ lenya/trunk/src/modules/fckeditor/java/src/org/apache/lenya/cms/editors/fckeditor/Fckeditor.java Thu Oct  5 12:01:27 2006
@@ -228,6 +228,8 @@
                 saveXMLFile(encoding, content, xmlSource);
             }
             
+            xmlDoc = DocumentHelper.readDocument(xmlSource.getInputStream());
+            
             if (xmlDoc != null) {
                 ResourceType resourceType = getSourceDocument().getResourceType();
                 Schema schema = resourceType.getSchema();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org