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

Duration term for minutes and months conflict

    XMLWordPrintable

    Details

      Description

      The duration term for months doesn't get inserted when the set database collation is case insensitive, apparently the code for minutes and months are the same except that they are of different cases, therefore the precondition to insert months fails since it perfoms a case insensitive check for the existence of the term. The quick solution for this is to check by uuid for existence of the term in the preconditions. With that said, concept reference term validator doesn't allow terms with the same code in the same concept source.

      TODOs:
      Chosen solution at https://notes.openmrs.org/Design-Forum-2014-09-17

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              wyclif Wyclif Luyima
              Reporter:
              wyclif Wyclif Luyima
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h