Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-758

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.4.0
    • core-1.5.0
    • Core
    • 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

            danhaywood Daniel Keir Haywood
            jcvanderwal Jeroen van der Wal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: