Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-3123

Extra updates are not cleaned after execution

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      Data in UnitOfWork::$extraUpdates are not cleaned after execution of extra updates.

      If causes troubles when postFlush event listener does flush, so these extra updates executed two times instead of one.

        Issue Links

          Activity

          Hide
          ocramius Marco Pivetta added a comment -
          Show
          ocramius Marco Pivetta added a comment - Provided a patch, see DDC-3124 ( https://github.com/doctrine/doctrine2/pull/1030 )
          Hide
          doctrinebot Doctrine Bot added a comment -

          A related Github Pull-Request [GH-1030] was closed:
          https://github.com/doctrine/doctrine2/pull/1030

          Show
          doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-1030] was closed: https://github.com/doctrine/doctrine2/pull/1030
          Show
          deeky666 Steve Müller added a comment - Fixed in commit: https://github.com/doctrine/doctrine2/commit/c16de21172d96c1a42756951b5a8790dd13ca4d1

            People

            • Assignee:
              deeky666 Steve Müller
              Reporter:
              yshyshkin Yevhen Shyshkin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: