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

On the edit concept page, if you save a concept with a blank mapping the save fails with confusing error message

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.1
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      To reproduce:

      • Go the edit concept page
      • Click "Add Mapping"
      • Click Save Concept (without having actually chosen a term to map to
      • You'll see the error message: "Only existing reference terms can be mapped"

      My first thought is that the empty mapping should be silently dropped.

      An alternative would be to change the error message to "You must specify a reference term".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wyclif Wyclif Luyima
                Reporter:
                darius Darius Jazayeri
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: