mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-967: Single Table Inheritance, problem when try create db schema. #1207
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 1, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user alexshelkov:
If you have code grouped like this:
And then try use console tools to create db schema, you will see the strange errors:
I am not sure, but possibly that happens because of Doctrine try to process "A-entity" before "Z-entity" (because files in directory sorted alphabetically). If I use other file name for example "Zz" instead of "A" (so it will be Zz.php file) all works perfectly.
@doctrinebot commented on GitHub (Jan 2, 2011):
Comment created by @beberlei:
have you registered an autoloader for your Divorcee namespace? It seems not
@doctrinebot commented on GitHub (Jan 2, 2011):
Comment created by alexshelkov:
Yes, you are absolutely right, I forget about registering autoloader. I am sorry for false report. Thank for you help.
@doctrinebot commented on GitHub (Jan 2, 2011):
Issue was closed with resolution "Invalid"