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

lifecycle callback "updating()" is not firing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: objectstore-jdo-1.4.0
    • Fix Version/s: core-1.6.0
    • Component/s: Core: Objectstore: JDO
    • Labels:
      None
    • Environment:
      jdo objectstore on in-memory hsqldb

      Description

      when trying to override lifecycle callbacks, only some of them fire as expected.

      working:

      • created()
      • saving()
      • persisting()
      • saved()
      • persisted()
      • updated()

      missing:

      • updating()
      • loading()
      • loaded()

      no yet tested:

      • removing()
      • removed()

      test scenario:

      • create new entity of class X
      • list all entities of X
      • open created instance
      • edit property
      • click 'ok'

      result:
      according to the logfile, "updated" is called right after the corresponding datastore UPDATE (as expected), but "updating" is missing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danhaywood Dan Haywood
                Reporter:
                thomaskoren Thomas Koren
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: