directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1036104 - /directory/shared/trunk/dsml-parser/src/main/java/org/apache/directory/shared/dsmlv2/reponse/SearchResultEntryDsml.java
Date Wed, 17 Nov 2010 16:34:19 GMT
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 )
             {



Mime
View raw message