directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSHARED-18) Extension order in LdapURL is unpredictable yet tests expect order to be preserved causing test failures
Date Mon, 18 Aug 2008 21:45:44 GMT

    [ 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.


Mime
View raw message