Update of /var/cvs/src/org/mmbase/module/core
In directory james.mmbase.org:/tmp/cvs-serv387/src/org/mmbase/module/core

Modified Files:
      Tag: MMBase-1_8
        MMObjectNode.java 
Log Message:
MMB-1713  Bridge transaction always commits nodes even when not changed

Reverted back my commit. Solved my issues in another way. Still I don't like 
the way transaction and node deletes are handled


See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/module/core
See also: http://www.mmbase.org/jira/browse/MMB-1713


Index: MMObjectNode.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/module/core/MMObjectNode.java,v
retrieving revision 1.193.2.13
retrieving revision 1.193.2.14
diff -u -b -r1.193.2.13 -r1.193.2.14
--- MMObjectNode.java   27 Aug 2008 11:12:04 -0000      1.193.2.13
+++ MMObjectNode.java   24 Sep 2008 15:25:18 -0000      1.193.2.14
@@ -38,7 +38,7 @@
  * @author Eduard Witteveen
  * @author Michiel Meeuwissen
  * @author Ernst Bunders
- * @version $Id: MMObjectNode.java,v 1.193.2.13 2008/08/27 11:12:04 nklasens 
Exp $
+ * @version $Id: MMObjectNode.java,v 1.193.2.14 2008/09/24 15:25:18 nklasens 
Exp $
  */
 
 public class MMObjectNode implements org.mmbase.util.SizeMeasurable, 
java.io.Serializable  {
@@ -316,10 +316,6 @@
      * @since MMBase-1.7
      */
     public boolean commit(UserContext user) {
-        if (!isChanged()) {
-           return true;
-        }
-
         boolean success = parent.safeCommit(this);
         if (success) {
             MMBaseCop mmbaseCop = parent.getMMBase().getMMBaseCop();
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to