Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2866

DefaultDataDomainFlushAction breaks on circular relationship update

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.2, 4.2.1
    • 4.2.2, 5.0-M1
    • Core Library
    • None

    Description

      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

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: