[ https://issues.apache.org/jira/browse/CAY-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873188#comment-17873188 ]
Nikita Timofeev commented on CAY-2866: -------------------------------------- *5.0*: https://github.com/apache/cayenne/commit/1ce7e8b7fd72b0a54ac8286fa2a6ad87a99b1410 > DefaultDataDomainFlushAction breaks on circular relationship update > ------------------------------------------------------------------- > > Key: CAY-2866 > URL: https://issues.apache.org/jira/browse/CAY-2866 > Project: Cayenne > Issue Type: Bug > Components: Core Library > Affects Versions: 4.2, 4.2.1 > Reporter: Nikita Timofeev > Assignee: Nikita Timofeev > Priority: Critical > Fix For: 4.2.2, 5.0-M1 > > > {{DefaultDataDomainFlushAction}} spawns DB row change operation for each side > of the relationship. It is later discarded if there's nothing to change in > the DB at the query stage. But that additional operation could lead to a > faulty cycle detection in the sorting stage. > One example of this - simple update of a self circular dependency in the > entity, see https://lists.apache.org/thread/kgrmzyb4z6py6rrvsr6dfvgj4km4rfz1 -- This message was sent by Atlassian Jira (v8.20.10#820010)