Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3109

[Doctrine\ORM\Mapping\MappingException] Invalid field override named 'xxx' for class 'Entity\xxx'

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: Mapping Drivers, ORM, Tools
    • Security Level: All
    • Labels:
      None
    • Environment:
      kubuntu 14.04, php 5.5.9, MySQL 5.5

      Description

      Subclass should override association, but on generating entities, error:

      [Doctrine\ORM\Mapping\MappingException]
      Invalid field override named 'settings' for class 'Entity\Organization'.

      is thrown. also, when updating schema, the assocations in the subclass are ignored (means are not present in the database).

      1. Organization.php
        8 kB
        david pichsenmeister
      2. User.php
        7 kB
        david pichsenmeister

        Issue Links

          Activity

          Hide
          Alexandre PAIXAO added a comment -

          I think it is a duplicate of this bug : http://www.doctrine-project.org/jira/browse/DDC-2693

          Show
          Alexandre PAIXAO added a comment - I think it is a duplicate of this bug : http://www.doctrine-project.org/jira/browse/DDC-2693

            People

            • Assignee:
              Benjamin Eberlei
              Reporter:
              david pichsenmeister
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: