directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: [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 22:58:43 GMT
Seems like shared is breaking for this reason.

Alex

On Mon, Aug 18, 2008 at 5:45 PM, Emmanuel Lecharny (JIRA)
<jira@apache.org>wrote:

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


-- 
Microsoft gives you Windows, Linux gives you the whole house ...

Mime
View raw message