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

        Nico Kaiser created issue -
        Roman S. Borschel made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Critical [ 2 ]
        Roman S. Borschel made changes -
        Affects Version/s 2.0-ALPHA3 [ 10029 ]
        Fix Version/s 2.0-ALPHA4 [ 10036 ]
        Roman S. Borschel made changes -
        Assignee Roman S. Borschel [ romanb ] Benjamin Eberlei [ beberlei ]
        Benjamin Eberlei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-ALPHA4 [ 10036 ]
        Resolution Cannot Reproduce [ 5 ]
        Nico Kaiser made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Roman S. Borschel made changes -
        Assignee Benjamin Eberlei [ beberlei ] Roman S. Borschel [ romanb ]
        Roman S. Borschel made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Roman S. Borschel made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 2.0-ALPHA4 [ 10036 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 10332 ] jira-feedback [ 15464 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15464 ] jira-feedback2 [ 17328 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17328 ] jira-feedback3 [ 19585 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: