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

HibernateSerializedObjectDAO.saveObject should set auditable fields before serializing

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      In HibernateSerializedObjectDAO.saveObject(T object, OpenmrsSerializer serializer) ), the Auditable (creator, dateCreated, changedBy, dateChanged) fields should be set before calling serializer.serialize(definition); instead of after serialization.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rpuzdrowski Radosław Puzdrowski
              Reporter:
              dkayiwa Daniel Kayiwa
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d