Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3123

Extra updates are not cleaned after execution

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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
          Marco Pivetta added a comment -
          Show
          Marco Pivetta added a comment - Provided a patch, see DDC-3124 ( https://github.com/doctrine/doctrine2/pull/1030 )
          Hide
          Doctrine Bot added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: