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

        Guilherme Blanco created issue -
        Guilherme Blanco made changes -
        Field Original Value New Value
        Attachment DDC1443Test.php [ 11079 ]
        Guilherme Blanco made changes -
        Attachment DDC1443Test.php [ 11080 ]
        Guilherme Blanco made changes -
        Assignee Guilherme Blanco [ guilhermeblanco ] Benjamin Eberlei [ beberlei ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13108 ] jira-feedback [ 13980 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13980 ] jira-feedback2 [ 15844 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15844 ] jira-feedback3 [ 18100 ]

          People

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

            Dates

            • Created:
              Updated: