Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1443

Subscribers reachs maximum nesting level when creating association on pre/postPersist with cascade persist

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Git Master
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      Suppose a situation where:

      A -> B

      Where the OneToOne unidirectional association contains cascade persist.

      If I decide to save an entity B that should create an A instance, it goes into maximum nesting level no matter if I track prePersist or postPersist.

      1. DDC1443Test.php
        4 kB
        Guilherme Blanco
      2. DDC1443Test.php
        3 kB
        Guilherme Blanco

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Guilherme Blanco
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: