You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by me...@apache.org on 2009/05/29 21:01:08 UTC

svn commit: r780072 - in /incubator/jspwiki/trunk: ChangeLog src/WebContent/Comment.jsp src/java/org/apache/wiki/Release.java

Author: metskem
Date: Fri May 29 19:01:08 2009
New Revision: 780072

URL: http://svn.apache.org/viewvc?rev=780072&view=rev
Log:
3.0.0-svn-122 JSPWIKI-564 Comment Editor populated by Preview from another wikipage,reported by Jeff Allen.

Modified:
    incubator/jspwiki/trunk/ChangeLog
    incubator/jspwiki/trunk/src/WebContent/Comment.jsp
    incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java

Modified: incubator/jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=780072&r1=780071&r2=780072&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Fri May 29 19:01:08 2009
@@ -1,3 +1,11 @@
+2009-05-29 Harry Metske <me...@apache.org>
+
+        * 3.0.0-svn-122
+
+        * JSPWIKI-564  Comment Editor populated by Preview from another wikipage,
+        reported by Jeff Allen.
+        The Comment.jsp now always clears the EDITED_TEXT from the session.
+
 2009-05-23  Harry Metske <me...@apache.org>
 
         * 3.0.0-svn-121

Modified: incubator/jspwiki/trunk/src/WebContent/Comment.jsp
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/WebContent/Comment.jsp?rev=780072&r1=780071&r2=780072&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/WebContent/Comment.jsp (original)
+++ incubator/jspwiki/trunk/src/WebContent/Comment.jsp Fri May 29 19:01:08 2009
@@ -90,6 +90,9 @@
 
     WikiPage wikipage = wikiContext.getPage();
     WikiPage latestversion = wiki.getPage( pagereq );
+
+    session.removeAttribute( EditorManager.REQ_EDITEDTEXT );
+
     if( latestversion == null )
     {
         latestversion = wikiContext.getPage();

Modified: incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java?rev=780072&r1=780071&r2=780072&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java (original)
+++ incubator/jspwiki/trunk/src/java/org/apache/wiki/Release.java Fri May 29 19:01:08 2009
@@ -77,7 +77,7 @@
      *  <p>
      *  If the build identifier is empty, it is not added.
      */
-    public static final String     BUILD         = "121";
+    public static final String     BUILD         = "122";
     
     /**
      *  This is the generic version string you should use