mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1008: Entity Generator Stub Method For Id Generator #1255
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 (Jan 31, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user sw45859:
In the EntityGenerator when the id setting has a generator of NONE it does not add the stub method for setting the id keys value, here's my fix:
around line 478 in the _generateEntityStubMethods function, the first foreach which checks for the id mapping, change:
TO
@doctrinebot commented on GitHub (Feb 2, 2011):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Feb 2, 2011):
Issue was closed with resolution "Fixed"