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

Module engine will execute sqldiff based on the String ordering

    Details

    • Complexity:
      Low

      Description

      Yaw Anokwa found this bug earlier.

      When you have 2 digit in your sql diff version, the ordering of sql execution will be screwed up.
      For example if you have a version 2.1.10 in your sql diff, this diff will be executed after 2.1.1 instead of after 2.1.9

      He said this is the problem (I agree that this is the problem):
      SortedMap<String, String> diffs = SqlDiffFileParser.getSqlDiffs(module);

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jeffrey.leegon@vanderbilt.edu Jeffrey Leegon [X] (Inactive)
                Reporter:
                nyoman Nyoman Ribeka [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: