You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/08/06 14:54:18 UTC

DO NOT REPLY [Bug 22173] New: - [PATCH] LDAPTransformer doesn't print multiple attribute results

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22173>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22173

[PATCH] LDAPTransformer doesn't print multiple attribute results

           Summary: [PATCH] LDAPTransformer doesn't print multiple attribute
                    results
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: unico@hippo.nl


When querying ldap for attributes, a single attribute can contain multiple 
values as is reflected by the fact that javax.naming.directory.Attribute.getAll
() returns an enumeration of results. Yet, LDAPTransformer does not loop thru 
the enumeration to print out all results but only prints the first one.

The patch contains a diff that fixes this bug and also includes the enhancement 
committed at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22042 . So when 
this patch is committed that issue can be closed too.