directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1100172 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/ldif/LdifUtils.java
Date Fri, 06 May 2011 11:33:55 GMT
Author: pamarcelot
Date: Fri May  6 11:33:55 2011
New Revision: 1100172

URL: http://svn.apache.org/viewvc?rev=1100172&view=rev
Log:
Fixed a bug which caused generated LDIF of an LDIF entry containing modification to be considered
as an invalid LDIF record (OID was used instead of the attribute type name).

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/ldif/LdifUtils.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/ldif/LdifUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/ldif/LdifUtils.java?rev=1100172&r1=1100171&r2=1100172&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/ldif/LdifUtils.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/ldif/LdifUtils.java
Fri May  6 11:33:55 2011
@@ -482,7 +482,7 @@ public final class LdifUtils
                             break;
                     }
 
-                    sb.append( modification.getAttribute().getId() );
+                    sb.append( modification.getAttribute().getUpId() );
                     sb.append( '\n' );
 
                     sb.append( convertToLdif( modification.getAttribute() ) );



Mime
View raw message