mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3724: Resolve target entity also in discriminator map: does not work with non-alphabetical order #4571
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 (May 4, 2015).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user Alan Poulain:
Using a discriminator map and interfaces lead to an exception when there are not in alphabetical order.
For example,
is working but,
lead to:
{quote}
[Doctrine\Common\Persistence\Mapping\MappingException]
Class 'BEntityInterface' does not exist
{quote}
@mpdude commented on GitHub (Dec 21, 2020):
Could you double-check that there is no autoloading issue involved?
In particular, make sure you don't have both interfaces
AEntityInterfaceandBEntityInterfacein a file calledAEntityInterface.php.@mpdude commented on GitHub (Dec 21, 2020):
@alanpoulain was that your original issue?