My guess is the new logic in DefaultDataDomainFlushAction.mergeSameObjectIds with OpIdFactory has a flaw. It's a little above my paygrade to figure out why. 🤣
On Tue, Dec 13, 2022 at 1:44 PM Lon Varscsak <lon.varsc...@gmail.com> wrote: > I have a pretty serious regression between these versions. I'm not 100% > sure what's going on yet, but figured I'd drop a note and see if anyone has > any thoughts. I have a situation where I remove all the objects in a > relationship, and then reinsert them (same PK). This has been working in > 4.2 for a while now (in production), but something changed that when it > goes to delete the objects in question it only deletes 1 of 4 of them, and > then tries to insert the same data again resulting in a PK constraint > violation. > > I vaguely remember there was some work that Nikita had to do to make this > work..but I have a bad memory. :) > > Also, I'm using the GraphBasedDbRowOpSorter, which is really required to > do anything meaningful with Sybase and its lack of deferred constraints. > idk if this could be related...but it's been an issue before. > > Thanks, > > Lon >