Wicket
  1. Wicket
  2. WICKET-4217

CompoundRequestMapper sort broken with big negative compatibilityScore

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.5.4
    • Component/s: wicket
    • Labels:
      None

      Description

      the following fails for RequestMapper with big negative compatibilityScore:

      public int compareTo(final MapperWithScore o)

      { return o.compatibilityScore - compatibilityScore; }

      see patch with testcase.

        Activity

        Jan Riehn created issue -
        Hide
        Jan Riehn added a comment -

        TestCase and possible fix

        Show
        Jan Riehn added a comment - TestCase and possible fix
        Jan Riehn made changes -
        Field Original Value New Value
        Attachment wicket-request.patch [ 12503368 ]
        Sven Meier made changes -
        Assignee Sven Meier [ svenmeier ]
        Hide
        Sven Meier added a comment -

        applied patch.

        Show
        Sven Meier added a comment - applied patch.
        Sven Meier made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.5.4 [ 12319051 ]
        Resolution Fixed [ 1 ]
        Hide
        Sven Meier added a comment -

        Thanks Jan.

        Show
        Sven Meier added a comment - Thanks Jan.

          People

          • Assignee:
            Sven Meier
            Reporter:
            Jan Riehn
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development