Author: aadamchik
Date: Sat May  5 11:57:34 2012
New Revision: 1334409

URL: http://svn.apache.org/viewvc?rev=1334409&view=rev
Log:
CAY-1634 [PATCH] In ChildDiffLoader.nodePropertyChanged the oldValue is not 
passed to writeProperty

patch by John Huss

Modified:
    cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
    
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/graph/ChildDiffLoader.java

Modified: cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: 
http://svn.apache.org/viewvc/cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=1334409&r1=1334408&r2=1334409&view=diff
==============================================================================
--- cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/trunk/docs/doc/src/main/resources/RELEASE-NOTES.txt Sat May  5 
11:57:34 2012
@@ -69,6 +69,7 @@ CAY-1627 CayenneModeler: collection type
 CAY-1628 ClassCastException when using java.util.Set or java.util.Map as 
collection type for to-many relationship
 CAY-1631 Oracle - passing blobs as stored procedure parameters
 CAY-1632 CayenneModeler: flattened relationship paths are not fully displayed
+CAY-1634 [PATCH] In ChildDiffLoader.nodePropertyChanged the oldValue is not 
passed to writeProperty
 CAY-1648 [PATCH] ValidationException throws format exception if error message 
contains percent sign
 CAY-1694 When importing an EOModel, the DataNode gets lost
 CAY-1696 Undo/Redo stop working after deleting several project items at once

Modified: 
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/graph/ChildDiffLoader.java
URL: 
http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/graph/ChildDiffLoader.java?rev=1334409&r1=1334408&r2=1334409&view=diff
==============================================================================
--- 
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/graph/ChildDiffLoader.java
 (original)
+++ 
cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/graph/ChildDiffLoader.java
 Sat May  5 11:57:34 2012
@@ -149,7 +149,7 @@ public class ChildDiffLoader implements 
 
         setExternalChange(Boolean.TRUE);
         try {
-            descriptor.getProperty(property).writeProperty(object, null, 
newValue);
+            descriptor.getProperty(property).writeProperty(object, oldValue, 
newValue);
         }
         catch (Exception e) {
             throw new CayenneRuntimeException("Error setting property: " + 
property, e);


Reply via email to