mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-4006: ID generator strategy not inherited from embeddable #4887
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 (Nov 19, 2015).
Originally assigned to: @deeky666 on GitHub.
Jira issue originally created by user @deeky666:
Setting the ID generator strategy mapping when using embeddables as identifiers in entities has no effect and always results in the "NONE" strategy.
See comment for an example: http://www.doctrine-project.org/jira/browse/DDC-2987?focusedCommentId=25786&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-25786
This is due to the ID generator strategy not being inherited to its parent entity when declared in an embeddable (ClassMetadataFactory).
@doctrinebot commented on GitHub (Nov 19, 2015):
@doctrinebot commented on GitHub (Nov 23, 2015):
Issue was closed with resolution "Fixed"