[
https://issues.apache.org/jira/browse/DIRSHARED-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623470#action_12623470
]
Emmanuel Lecharny commented on DIRSHARED-18:
--------------------------------------------
Worst : the equals() method compares the URL as if they were Strings. This will
fail if the extensions are not ordered, and will also fail if the filters or
the attributes are not in the same order.
> Extension order in LdapURL is unpredictable yet tests expect order to be
> preserved causing test failures
> --------------------------------------------------------------------------------------------------------
>
> Key: DIRSHARED-18
> URL: https://issues.apache.org/jira/browse/DIRSHARED-18
> Project: Directory Shared
> Issue Type: Bug
> Reporter: Alex Karasulu
> Fix For: 0.9.12
>
>
> A map is used to store extensions. But then the key set is used to iterate
> over the values and reconstruct the extensions component of the URL. The
> tests presume an order and this may not always be the case.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.