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

Obs should not be allowed to have null values for all value fields (unless the obs has child obs)

    Details

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

      Description

      To ensure data integrity, you should not be able to save an obs that has all of it's value_* fields set to null... unless that obs has child Obs, in which case all of it's value_* fields must be null.

        Gliffy Diagrams

          Attachments

          1. 1611patch.txt
            4 kB
          2. 1611patch2.patch
            5 kB

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  goutham Goutham Vasireddi
                  Reporter:
                  mogoodrich Mark Goodrich
                  Watchers:
                  Goutham Vasireddi, Mark Goodrich
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: