Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-1447

Add support for using Spring 2.5 as well as 2.0 in ServiceMix web console

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3
    • 3.3
    • servicemix-web-console
    • None
    • Patch Available

    Description

      I am using servicemix-web-console as a war dependency for my webapp excluding spring 2.0 artifacts and including the 2.5 ones, but there is an incompatibility in the BindingBeanNameUrlHandlerMapping class when switching versions.

      The result is that all the request parameters don't get injected into the controller beans, as the getHandlerInternal method from BeanNameUrlHandlerMapping return a HandlerExecutionChain object with 2.5 instead of a Handler object as in 2.0.

      The included patch addresses both Spring 2.0 and 2.5, and is also useful for SM-1346.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patch.diff
          1 kB
          Marcello Teodori

        Activity

          People

            gnodet Guillaume Nodet
            mteodori Marcello Teodori
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: