mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3223: Failing test (get id return string type) #3989
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 (Jul 22, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user raziel057:
I found an issue in a specific case, when you find a child entity (JOINED) which is linked to another child entity.
If I clone the linked child entity and call getId(), it gives the value as 'string' rather than 'integer'. If I set the property id as public, there is no problem.
If I call getId on the child entity rather than the clone, it gives 'integer' as expected. So it's weird...
See failing test here: https://github.com/doctrine/doctrine2/pull/1086