Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-2617

OneToMany annotation should not work with MappedSuperclass

    Details

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

      Description

      Using annotations in my model mapped to "mapped superclass" I can use one to many relations et every bidirectional relation I want.
      Using yaml or xml it suddenly doesn't work and throw me an error. Annotations should work the same way and should not authorize one to many or any bidirectional relation.

        Activity

        Hide
        beberlei Benjamin Eberlei added a comment -

        Its actually the other way around, yml and xml need to allow this, because it works with association overrides.

        Show
        beberlei Benjamin Eberlei added a comment - Its actually the other way around, yml and xml need to allow this, because it works with association overrides.
        Hide
        beberlei Benjamin Eberlei added a comment -

        Assigning Fabio

        Show
        beberlei Benjamin Eberlei added a comment - Assigning Fabio

          People

          • Assignee:
            fabio.bat.silva Fabio B. Silva
            Reporter:
            johnbenz jonathan bensaid
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: