directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r366399 - /directory/trunk/apacheds/src/main/java/org/apache/ldap/server/event/EventService.java
Date Fri, 06 Jan 2006 03:08:55 GMT
Author: akarasulu
Date: Thu Jan  5 19:08:53 2006
New Revision: 366399

URL: http://svn.apache.org/viewcvs?rev=366399&view=rev
Log:
found bug with order of binding args when performing notifications on modifyDn

Modified:
    directory/trunk/apacheds/src/main/java/org/apache/ldap/server/event/EventService.java

Modified: directory/trunk/apacheds/src/main/java/org/apache/ldap/server/event/EventService.java
URL: http://svn.apache.org/viewcvs/directory/trunk/apacheds/src/main/java/org/apache/ldap/server/event/EventService.java?rev=366399&r1=366398&r2=366399&view=diff
==============================================================================
--- directory/trunk/apacheds/src/main/java/org/apache/ldap/server/event/EventService.java
(original)
+++ directory/trunk/apacheds/src/main/java/org/apache/ldap/server/event/EventService.java
Thu Jan  5 19:08:53 2006
@@ -268,9 +268,9 @@
             {
                 NamespaceChangeListener nclistener = ( NamespaceChangeListener ) listener;
                 Binding oldBinding = new Binding( oldName.toString(), entry, false );
-                Binding newBinding = new Binding( oldName.toString(), entry, false );
+                Binding newBinding = new Binding( newName.toString(), entry, false );
                 nclistener.objectRenamed( new NamingEvent( rec.getEventContext(),
-                        NamingEvent.OBJECT_RENAMED, oldBinding, newBinding, entry ) );
+                        NamingEvent.OBJECT_RENAMED, newBinding, oldBinding, entry ) );
             }
         }
     }



Mime
View raw message