directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1211572 - /directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java
Date Wed, 07 Dec 2011 17:55:27 GMT
Author: pamarcelot
Date: Wed Dec  7 17:55:27 2011
New Revision: 1211572

URL: http://svn.apache.org/viewvc?rev=1211572&view=rev
Log:
Fix for DIRSTUDIO-731 (Editing RDN attribute should open rename dialog).

Modified:
    directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java

Modified: directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java?rev=1211572&r1=1211571&r2=1211572&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java
(original)
+++ directory/studio/trunk/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/impl/Value.java
Wed Dec  7 17:55:27 2011
@@ -309,7 +309,7 @@ public class Value implements IValue
         while ( atavIterator.hasNext() )
         {
             Ava ava = atavIterator.next();
-            if ( getAttribute().getDescription().equals( ava.getUpType() )
+            if ( getAttribute().getDescription().equals( ava.getNormType() )
                 && getStringValue().equals( ava.getNormValue().getString() ) )
             {
                 return true;



Mime
View raw message