Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-758

Auditing should be able to cope with a change to a property where the referenced object has been deleted.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: core-1.4.0
    • Fix Version/s: core-1.5.0
    • Component/s: Core
    • Labels:
      None

      Description

      For example, doing a "cascade" delete of Parent <->* Child.

      Here, the Parent and each of the Children will be audited, and in the case of Child, its "parent" reference is changing from (parent) to null.

      However, as the parent itself is deleted, trying to generate its toString() (when using JDO object store) is causing an exception.

      The fix is to grab the toString of the object when the objects are enlisted into the transaction, before they are deleted.

        Attachments

          Activity

            People

            • Assignee:
              danhaywood Dan Haywood
              Reporter:
              jcvanderwal Jeroen van der Wal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: