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

lifecycle callback "updating()" is not firing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • objectstore-jdo-1.4.0
    • core-1.6.0
    • Persistence JDO
    • None
    • 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

              danhaywood Daniel Keir Haywood
              thomaskoren Thomas Koren
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: