[ http://issues.apache.org/jira/browse/DIRSERVER-612?page=comments#action_12428912 ] Alex Karasulu commented on DIRSERVER-612: -----------------------------------------
I applied your patches 432490, 432491 for 1.0 and 432492 for the trunks for 1.1. THere is however a *big* problem. I noticed this after I applied the patches. I can roll back but instead I can take corrective patches from you. Here's what a dump now looks like: #--------------------- # Entry: 23 #--------------------- dn: uid=user.22,dc=example,dc=com pager: Attribute id : 'pager', Values : ['515-711-8297'] employeenumber: Attribute id : 'employeenumber', Values : ['22'] objectclass: Attribute id : 'objectclass', Values : ['person', 'organizationalPerson', 'inetOrgPerson'] mobile: Attribute id : 'mobile', Values : ['338-209-4979'] telephonenumber: Attribute id : 'telephonenumber', Values : ['619-921-3217'] street: Attribute id : 'street', Values : ['76697 Ash Street'] userpassword: Attribute id : 'userpassword', Values : ['cGFzc3dvcmQ='] uid: Attribute id : 'uid', Values : ['user.22'] postalcode: Attribute id : 'postalcode', Values : ['09762'] givenname: Attribute id : 'givenname', Values : ['Abigael'] mail: Attribute id : 'mail', Values : ['[EMAIL PROTECTED]'] l: Attribute id : 'l', Values : ['Dothan'] sn: Attribute id : 'sn', Values : ['Abel'] cn: Attribute id : 'cn', Values : ['Abigael Abel'] postaladdress: Attribute id : 'postaladdress', Values : ['Abigael Abel$76697 Ash Street$Dothan, CO 09762'] description: Attribute id : 'description', Values : ['This is the description for Abigael Abel.'] initials: Attribute id : 'initials', Values : ['AA'] homephone: Attribute id : 'homephone', Values : ['490-458-8467'] st: Attribute id : 'st', Values : ['CO'] Seems like we're using toString() on an attribute object instead of on it's value. The good news is the base64 issue is gone. Can you supply a patch to fix this problem? Thanks! > apacheds-tools dump command does NOT generate the correct base 64 output for > binary attributes in LDIF dump > ----------------------------------------------------------------------------------------------------------- > > Key: DIRSERVER-612 > URL: http://issues.apache.org/jira/browse/DIRSERVER-612 > Project: Directory ApacheDS > Issue Type: Bug > Components: tools > Affects Versions: 1.0-RC2 > Reporter: Alex Karasulu > Assigned To: Alex Karasulu > Fix For: 1.0-RC4 > > Attachments: ads-1.0RC4-DIRSERVER-612-apacheds.patch, > ads-1.0RC4-DIRSERVER-612-shared.patch, ads-1.1.0-DIRSERVER-612.patch > > > The dump command which produces LDIF dumps of partitions is not generating > the base64 encoded values for binary attributes. It seems to be printing > just the byte[] which shows the id of the object in the jvm instead of the > base64 encoded value. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
