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 2010/11/17 17:34:19 UTC

svn commit: r1036104 - /directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java

Author: pamarcelot
Date: Wed Nov 17 16:34:19 2010
New Revision: 1036104

URL: http://svn.apache.org/viewvc?rev=1036104&view=rev
Log:
Fix for DIRSHARED-71 (SearchResultEntryDsml does not use the provided name of the attribute type) & DIRSTUDIO-710 (SearchResultEntryDsml not setting attribute name correctly).
Thanks Henri van den bulk for the bug report and fix proposal.

Modified:
    directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java

Modified: directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java?rev=1036104&r1=1036103&r2=1036104&view=diff
==============================================================================
--- directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java (original)
+++ directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java Wed Nov 17 16:34:19 2010
@@ -86,7 +86,7 @@ public class SearchResultEntryDsml exten
         {
 
             Element attributeElement = element.addElement( "attr" );
-            attributeElement.addAttribute( "name", attribute.getId() );
+            attributeElement.addAttribute( "name", attribute.getUpId() );
 
             for ( Value<?> value : attribute )
             {