Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4028

Improve PageInstanceMapper#getCompatibilityScore() to return higher value if the request starts with 'wicket/page'

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC7
    • 1.5.1
    • wicket
    • None

    Description

      org.apache.wicket.request.mapper.PageInstanceMapper.getCompatibilityScore(Request) currently returns 0 to give users mappers a chance but requests to 'wicket/page?...' are really requests to PIM and there is no need to execute all other mappers #mapRequest(Url).

      If user app wants to handle requests to 'wicket/page' then it should override getCompatibilityScore() and return the same or higher value than PIM.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: