Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1545

Update on loaded association not detected upon flush()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.1.5, 2.2
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      If an association is joined during fetching and then updated in-memory, the update is not detected during flushing. I made the following test cases:

      Association is joined:

      • change NULL → entity: does not work
      • change entity → NULL: works
      • change entity1 → entity2: does not work

      Assocation is not joined:

      • change NULL → entity: works
      • change entity → NULL: works
      • change entity1 → entity2: works

        Activity

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Bernhard Schussek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: