mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-886: Mapped Supperclass composite identifier is ignored in child class #1099
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 21, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user gediminasm:
Currently $class->isIdentifierComposite value stays "false" if no new identifiers were added on child class..
patch proposal:
around line 270, file: ClassMetadataFactory.php
add line:
$class->isIdentifierComposite = $parent->isIdentifierComposite;
this way if supperclass had composite identifier and child had none identifiers
the result would be as suspected.