Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-61

OneToOne relation with an entity using Class Table Inheritance fails

    Details

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

      Description

      The bug occurs when there's a lazy bidirectional one-to-one relation where the inverse side only specifies the root entity. In this case, the final type of the target-entity is not resolved correctly. See the attached file for a failing test case.

      1. cti_test.diff
        2 kB
        Ville Väänänen
      2. cti_test.diff
        2 kB
        Ville Väänänen
      3. StandardEntityPersister.php.diff
        6 kB
        Ville Väänänen

        Activity

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Ville Väänänen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: