Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5720

Upgrade Spring to 3.1.0.RELEASE

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • Should
    • Resolution: Fixed
    • Platform 1.9.11, Platform 1.10.6
    • None
    • None
    • Low

    Description

      For the 1.9.x and 1.10.x branches, upgrade Spring from 3.0.5.RELEASE to 3.1.0.RELEASE

      Because of the upgrade to Spring 5 (TRUNK-5498), a couple of deprecated classes have been completely removed from the spring framework. For modules like webservicesrest which used some of these removed classes, there needs to be a replacement of the alternatives. During the replacement process, we found out that older versions of the openmrs platform were using very old versions of Spring that did not yet have the replacement classes. So we decided to upgrade these versions of the openmrs platform to the minimum version of Spring that has the replacement classes. An example is the class `org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter` which was replaced by `org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter` which was introduced in Spring 3.1.0
      Therefore, for the webservicesrest module which still supports openmrs platform versions all the way to 1.9.x, we needed to upgrade these to a 1.9.x and 1.10.x series that has spring upgraded to at least 3.1.0

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                mseaton Mike Seaton
                dkayiwa Daniel Kayiwa
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: