Nikita Timofeev created CAY-2866:
------------------------------------
Summary: 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.1, 4.2
Reporter: Nikita Timofeev
Assignee: Nikita Timofeev
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)