You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/08/29 14:14:49 UTC

svn commit: r570775 - /lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRCML.java

Author: andreas
Date: Wed Aug 29 05:14:48 2007
New Revision: 570775

URL: http://svn.apache.org/viewvc?rev=570775&view=rev
Log:
Clear source node RCML entries when deleting. Otherwise, the last check-in entry will keep active. See bug 43163 for more information.

Modified:
    lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRCML.java

Modified: lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRCML.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRCML.java?rev=570775&r1=570774&r2=570775&view=diff
==============================================================================
--- lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRCML.java (original)
+++ lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeRCML.java Wed Aug 29 05:14:48 2007
@@ -533,6 +533,7 @@
                 deleteBackup(this.contentSourceUri, time);
                 deleteBackup(this.metaSourceUri, time);
             }
+            this.entries.clear();
         } catch (Exception e) {
             throw new RevisionControlException(e);
         }



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