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

Upgrade/downgrade required modules automatically

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Design
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      High

      Description

      In order to install/upgrade a module that requires a different module than already installed
      as a System Admin
      I want the other module to be upgraded/downgraded automatically.

      Acceptance criteria

      1. When a module requires a module in a different version than already installed, provide a dailog: "X requires Z in version V1 whereas V2 is already installed. Do you want to upgrade/downgrade Z to V1? Yes/No".
        • If the user chooses "Yes" download Z in V1
          • If Z in V1 requires any modules then install (TRUNK-3023) or upgrade them (AC 1).
          • If Z in V2 required any modules then...
          • If Z in V2 was required by any modules then...
          • In case of upgrade we are safe to install the higher version.
          • In case of downgrade we need to uninstall the higher version and install the lower version. See TRUNK-3025.
        • If the user chooses "No" cancel the installation.
      2. When there is no compatible configuration, provide an error: "X cannot be upgraded, because X and Y require Z in incompatible versions. X requires version V1 whereas Y requires version V2. You cannot proceed further.".
      3. When a system is upgraded modules should be upgraded if they are not compatible (based on the require_version tag in config.xml).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                raff Rafal Korytkowski
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated: