Re: Incomplete ChangeMap passed to CommitLogListener
Nikita Timofeev <[email protected]> Fri, 19 Sep 2025 17:09:24 +0400
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <CAMi+qzC9bv=kW87tvPQHVuuE=1tekD-E4nKYNHqaeNCc7XVOGA@mail.gmail.com> |
Hi Finally got some news on this, I could see where the problem exactly is and it looks like the fix won't lead to a global refactoring. Still need more time to comprehend everything and resolve. On Wed, Jul 23, 2025 at 12:03 AM Andrus Adamchik <[email protected]> wrote: > Hi Sven, > > Looks like the earlier related message from Hugi on dev@ went unanswered. > So I just made a note to myself to make sure we check this one out with > Nikita when he's back from vacation early in August. > > Thanks, > Andrus > > > > On Jul 21, 2025, at 8:47 AM, Sven Umbricht <[email protected]> wrote: > > > > Hi all, > > > > we're facing an issue with missing CommitLogListener events after > upgrading from Cayenne 4.1 to 4.2. In the call to the CommitLogListener's > onPostCommit-method the passed ChangeMap does not contain all changes made > during the last commit. > > > > Hugi has already helped us with investigating this and managed to > replicate the problem in a small example project: > > https://github.com/hugithordarson/xx-c42-listen > > > > It seems that the ChangeMap is wiped when modifying an object accessed > via a relationship. Our listener is also configured to use > excludeFromTransaction-mode, so this may or may not be related to CAY-2735. > Any help in this matter is appreciated. > > > > Best regards > > Sven > > -- Best regards, Nikita Timofeev