Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-113

Cascaded persist avoids LifecycleCallbacks

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-ALPHA3
    • Fix Version/s: 2.0-ALPHA4
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      When an Entity is created by 'cascade=

      {"persist"}

      ', its LifecycleCallbacks (e.g. "PrePersist"!) are not invoked.

      When it is persisted explicitly, everything workes fine and the events are called...

        Activity

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Nico Kaiser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: