mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[PR #6412] "Notice: Undefined offset: 0" when there is no ID Column defined #9972
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?
Original Pull Request: https://github.com/doctrine/orm/pull/6412
State: closed
Merged: No
When you forget about defining the ID/PK Column, then this ugly Notice appear.
This PR is not ready for merge, but shows where the problem exist.
Could you fix this or tell me the way this Pull Request would be acceptable? Thanks.
How to reproduce?
Remove ORM\Id annotation, then try to regenerate entities.