You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2011/05/06 13:33:55 UTC
svn commit: r1100172 -
/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/shared/ldap/model/ldif/LdifUtils.java
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() ) );