directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r573582 - /directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesJob.java
Date Fri, 07 Sep 2007 13:45:21 GMT
Author: seelmann
Date: Fri Sep  7 06:45:20 2007
New Revision: 573582

URL: http://svn.apache.org/viewvc?rev=573582&view=rev
Log:
Fix for DIRSTUDIO-186

Modified:
    directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesJob.java

Modified: directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesJob.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesJob.java?rev=573582&r1=573581&r2=573582&view=diff
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesJob.java
(original)
+++ directory/studio/trunk/studio-ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/CopyEntriesJob.java
Fri Sep  7 06:45:20 2007
@@ -118,6 +118,8 @@
 
     protected void runNotification()
     {
+        parent.setChildrenInitialized( false );
+        parent.setHasChildrenHint( true );
         EventRegistry.fireEntryUpdated( new ChildrenInitializedEvent( parent ), this );
     }
 
@@ -248,7 +250,6 @@
                 }
 
                 newEntry.getBrowserConnection().create( newEntry, monitor );
-                newEntry.getParententry().addChild( newEntry );
                 newEntry.setHasChildrenHint( false );
 
                 num++;



Mime
View raw message