mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3303: @ORM\Embedded does not work with extending classes #4084
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 10, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user TheBelgarion:
I update my symfony 2.5 with ORM 2.5. to try out the Embedded function.
I currently does not work correctly with extending class
it only works if i put the definition of the Embedded properties directly in class A ( but it works with all normal properties defined in the Abstract )
@doctrinebot commented on GitHub (Oct 1, 2015):
Comment created by jpi:
Hi, I confirm this bug.
Im using Symfony 2.7.5 DBAL 2.5.2 ORM 2.5.1.
Error : Property xxx::$description does not exist
@martinopic commented on GitHub (May 1, 2016):
Setting the parent class properties to "protected" (instead of private") works and could be an acceptable workaround for some.