You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jan Riehn (Created) (JIRA)" <ji...@apache.org> on 2011/11/11 13:28:51 UTC

[jira] [Created] (WICKET-4217) CompoundRequestMapper sort broken with big negative compatibilityScore

CompoundRequestMapper sort broken with big negative compatibilityScore
----------------------------------------------------------------------

                 Key: WICKET-4217
                 URL: https://issues.apache.org/jira/browse/WICKET-4217
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.3
            Reporter: Jan Riehn


the following fails for RequestMapper with big negative compatibilityScore:

public int compareTo(final MapperWithScore o)
{
	return o.compatibilityScore - compatibilityScore;
}

see patch with testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4217) CompoundRequestMapper sort broken with big negative compatibilityScore

Posted by "Sven Meier (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier resolved WICKET-4217.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.4

applied patch.
                
> CompoundRequestMapper sort broken with big negative compatibilityScore
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4217
>                 URL: https://issues.apache.org/jira/browse/WICKET-4217
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Jan Riehn
>            Assignee: Sven Meier
>             Fix For: 1.5.4
>
>         Attachments: wicket-request.patch
>
>
> the following fails for RequestMapper with big negative compatibilityScore:
> public int compareTo(final MapperWithScore o)
> {
> 	return o.compatibilityScore - compatibilityScore;
> }
> see patch with testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4217) CompoundRequestMapper sort broken with big negative compatibilityScore

Posted by "Jan Riehn (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Riehn updated WICKET-4217:
------------------------------

    Attachment: wicket-request.patch

TestCase and possible fix
                
> CompoundRequestMapper sort broken with big negative compatibilityScore
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4217
>                 URL: https://issues.apache.org/jira/browse/WICKET-4217
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Jan Riehn
>         Attachments: wicket-request.patch
>
>
> the following fails for RequestMapper with big negative compatibilityScore:
> public int compareTo(final MapperWithScore o)
> {
> 	return o.compatibilityScore - compatibilityScore;
> }
> see patch with testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (WICKET-4217) CompoundRequestMapper sort broken with big negative compatibilityScore

Posted by "Sven Meier (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sven Meier reassigned WICKET-4217:
----------------------------------

    Assignee: Sven Meier
    
> CompoundRequestMapper sort broken with big negative compatibilityScore
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4217
>                 URL: https://issues.apache.org/jira/browse/WICKET-4217
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Jan Riehn
>            Assignee: Sven Meier
>         Attachments: wicket-request.patch
>
>
> the following fails for RequestMapper with big negative compatibilityScore:
> public int compareTo(final MapperWithScore o)
> {
> 	return o.compatibilityScore - compatibilityScore;
> }
> see patch with testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4217) CompoundRequestMapper sort broken with big negative compatibilityScore

Posted by "Sven Meier (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148455#comment-13148455 ] 

Sven Meier commented on WICKET-4217:
------------------------------------

Thanks Jan.
                
> CompoundRequestMapper sort broken with big negative compatibilityScore
> ----------------------------------------------------------------------
>
>                 Key: WICKET-4217
>                 URL: https://issues.apache.org/jira/browse/WICKET-4217
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>            Reporter: Jan Riehn
>            Assignee: Sven Meier
>             Fix For: 1.5.4
>
>         Attachments: wicket-request.patch
>
>
> the following fails for RequestMapper with big negative compatibilityScore:
> public int compareTo(final MapperWithScore o)
> {
> 	return o.compatibilityScore - compatibilityScore;
> }
> see patch with testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira