mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-653: Convert annotation mapping to xml having troubles with discriminator map #805
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 (Jun 24, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user frantisek.troster:
Hi,
I wanted to convert Company model from unit test folder in Doctrine 2
project but I get following error:
Entity class 'CompanyPerson' used in the discriminator map of class
'Doctrine\Tests\Models\Company\CompanyPerson' does not exist.
I'm able to convert all other models without any errors and didn't
make any changes to the test models from the current Git version. I
checked the discriminator definitions against documentation and it
seems ok. I have updated Doctrine 2 with all related packages today
form Git. Could you please let me know what am I doing wrong?
Thank you
@doctrinebot commented on GitHub (Aug 15, 2010):
Comment created by @beberlei:
works for me, can you explain where you get the error described and also paste the stack trace?
@doctrinebot commented on GitHub (Aug 30, 2010):
Comment created by romanb:
If we don't get any more feedback and can not reproduce this issue it will be unscheduled from BETA4 since the release is close.
@doctrinebot commented on GitHub (Aug 30, 2010):
Comment created by frantisek.troster:
Hi,
sorry I was away for a few weeks. Here is the stack trace:
I'm using version:
Please let me know if you need more information. Maybe it's just me having wrong configuration.
@doctrinebot commented on GitHub (Aug 31, 2010):
Comment created by @jwage:
Can you provide the entity classes you are getting the errors with?
@doctrinebot commented on GitHub (Sep 1, 2010):
Comment created by @beberlei:
Its the Doctrine\Tests\Models\Company model-set in our suite.
@doctrinebot commented on GitHub (Sep 25, 2010):
Comment created by @beberlei:
Fixed the underlying issue, but this still won't work since mapping conversion is not currently possible with inheritance.
@doctrinebot commented on GitHub (Sep 25, 2010):
Issue was closed with resolution "Fixed"