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

Entity lifecycle callbacks should fire irrespective of the `entity-change-publishing` default.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 2.0.0-M9
    • 2.0.0-RC2
    • Persistence JDO
    • None

    Description

      as per this thread: https://the-asf.slack.com/archives/CFC42LWBV/p1673865917081639

      Seems that the code to fire the `persisted()` callback etc doesn't run if `entity-change-publishing` is disabled.  Whereas in fact, we should always call these callbacks.

      Problem noted against JDO, but quite possibly also present for JPA and so should check for both.

       

      Attachments

        Issue Links

          Activity

            People

              hobrom Andi Huber
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: