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

Error page is shown when a user changes the cause of death

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.6.0, OpenMRS 1.6.1
    • Fix Version/s: OpenMRS 1.6.2, OpenMRS 1.7.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      How to reproduce the error:
      Go to the edit patient form(either short or long), check on the deceased option, click on the 'change' button to the change the cause of death, add data to the field that is shown and click save.
      You will realize that the error page is shown irrespective of whether you provide a change reason for cause of death or not.
      Appropriate behavior should be sending the user back to the form and show the error message in case they haven't provided it or the field should be optional, and it also appears like the provided change reason for 'cause of death' is not being read and set by the controllers.

      The fix probably affects a couple of earlier versions besides the one marked on this ticket.

        Attachments

        1. 1711-post-code-review.patch
          3 kB
        2. patch
          2 kB
        3. patch
          0.8 kB

          Activity

            People

            Assignee:
            misha680 Misha Koshelev [X] (Inactive)
            Reporter:
            wyclif Wyclif Luyima
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: