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

        Bernhard Schussek created issue -
        Guilherme Blanco made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Critical [ 2 ]
        Guilherme Blanco made changes -
        Assignee Benjamin Eberlei [ beberlei ] Guilherme Blanco [ guilhermeblanco ]
        Guilherme Blanco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Guilherme Blanco made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 2.2 [ 10157 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.1.5 [ 10170 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13279 ] jira-feedback [ 15154 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15154 ] jira-feedback2 [ 17018 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17018 ] jira-feedback3 [ 19271 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: