cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1324886 - in /cayenne/main/branches/STABLE-3.0: docs/doc/src/main/resources/RELEASE-NOTES.txt framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
Date Wed, 11 Apr 2012 17:31:30 GMT
Author: aadamchik
Date: Wed Apr 11 17:31:30 2012
New Revision: 1324886

URL: http://svn.apache.org/viewvc?rev=1324886&view=rev
Log:
CAY-1696 Undo/Redo stop working after deleting several project items at once

patch by Andrei Veprev - port to 3.0

Modified:
    cayenne/main/branches/STABLE-3.0/docs/doc/src/main/resources/RELEASE-NOTES.txt
    cayenne/main/branches/STABLE-3.0/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java

Modified: cayenne/main/branches/STABLE-3.0/docs/doc/src/main/resources/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.0/docs/doc/src/main/resources/RELEASE-NOTES.txt?rev=1324886&r1=1324885&r2=1324886&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.0/docs/doc/src/main/resources/RELEASE-NOTES.txt (original)
+++ cayenne/main/branches/STABLE-3.0/docs/doc/src/main/resources/RELEASE-NOTES.txt Wed Apr
11 17:31:30 2012
@@ -27,6 +27,7 @@ CAY-1581 Not-Escaping <> during serializ
 CAY-1583 context.getObjectStore() returning null causing NullpointerException in DataMergeHandler
 CAY-1585 SelectQuery automatic cache key needs FetchOffset
 CAY-1596 setFetchOffset & setFetchLimit issue under SQL Server 2008 R2 64Bit
+CAY-1696 Undo/Redo stop working after deleting several project items at once
 
 ----------------------------------
 Release: 3.0.2

Modified: cayenne/main/branches/STABLE-3.0/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-3.0/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java?rev=1324886&r1=1324885&r2=1324886&view=diff
==============================================================================
--- cayenne/main/branches/STABLE-3.0/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
(original)
+++ cayenne/main/branches/STABLE-3.0/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/action/RemoveAction.java
Wed Apr 11 17:31:30 2012
@@ -228,6 +228,7 @@ public class RemoveAction extends Cayenn
                 for (ProjectPath path : paths) {
                     compoundEdit.addEdit(removeLastPathComponent(path));
                 }
+                compoundEdit.end();
 
                 application.getUndoManager().addEdit(compoundEdit);
 



Mime
View raw message