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

Problem with Audit handling in 1.6.x

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.6.3, OpenMRS 1.7.2
    • Fix Version/s: OpenMRS 1.6.4, OpenMRS 1.7.3
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      There are two errors with audit handling in 1.6.x:

      1) The change to use a hibernate interceptor (AuditableInterceptor) to handle date changed/changed by was backported from trunk, but setting the date changed/changed by in AuditableSaveHandler was NOT remove... so right now date changed/changed by is being set in two places in 1.6.x.

      2) The functionality added to "chain" hibernate interceptors (also backported from trunk) does not work in 1.6.x. The net effect of this is that if you install the
      Sync Module (which defines it's own hibernate interceptor) the AuditableInterceptor no longer functions.

      (Note that, practically, bug #2 doesn't stop date changed/changed by from being recorded due to bug #1)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mogoodrich Mark Goodrich [X] (Inactive)
              Reporter:
              mogoodrich Mark Goodrich [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: