|
[
Permlink
| « Hide
]
Alex Karasulu added a comment - 19/Mar/05 04:23 AM
Let's put this into 0.9 release.
Jacob I could really use a patch file attachment and a JUnit test again. Also would be nice to show how a JDK Name implementation behaves in comparison so we can see what's happening in the test case. If you can get this to me soon I can cut the 0.9 release tarballs for all to test. Thanks.
The patch fixes the backwards getSuffix() call and the attached file is JUnit that compare LdapName against the one in JDK 1.5. The JUnit must be compiled and executed with the rt.jar from JDK 1.5.
The patch fixes a bug introduced by fixing the getSuffix() in the previous patch. In addition there is a JUnit to test this patch.
The bug with getSuffix is way serious and it drills down deep. We've worked around the bug it seems. Regardless 4 major classes depend on getSuffix working the wrong way:
org.apache.ldap.server.exceptionorg.apache.ldap.server.exception.ExceptionService org.apache.ldap.server.jndi.ServerContext org.org.apache.ldap.server.db.jdbm.JdbmDatabase org.apache.ldap.seorg.apache.ldap.server.operational.OperationalAttributeService This is going to require some serious testing to make sure we are not totally messing up the server. Instead of taking this on before the next feature release I will leave it for 0.9.1 and handle it properly then. Currently it is not producing a negative effect in the server so it should be ok. Increasing criticality - making sure I'm going to take care of this right after the 0.9 release.
Jacob points out DIRLDAP-112 supercedes this on.
I guess this issue is not resolved right now? I'm reopening...
This issue has been solved a long time ago, but when?
Tests have been added into LdapDNTest class. Closing all issues created in 2005 and before which are marked resolved
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||