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

An address with empty fields shouldnot be added when creating persons or patients

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Complexity:
      Undetermined

      Description

      When creating a person/patient record, an address with empty fields should not be added to the patient, this happens if the user leaves all address fields blank in the UI. In the UI it might not seem like the case but if you look in person_address table in the DB, the newly inserted row has empty columns except for auditable and required columns.

      This can be reproduced from both the short and long patient forms

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: