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

When updating an Obs, order property is lost

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

       

      When updating an Obs, the Order property is not copied over from the old obs (which will be voided) to the newly-created Obs.

      I assume this is a bug and not intentional Burke Mamlin Daniel Kayiwa Mike Seaton?

      Our obs functionality is a little brittle, because all properties need to be manually copied over, see:

      https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/Obs.java#L217

      We probably should have a more automated way of copying an obs, with a means to exclude certain properties?

       

       

        Attachments

          Activity

            People

            Assignee:
            mogoodrich Mark Goodrich
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: