mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1169: Entities outside of drivers' namespaces only give 'is not a valid entity' #1468
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 25, 2011).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user noxart:
Hi,
in a situation where entity, that EM is to work with, is not inside of any namespace (that should be specified in $chainDriverImpl->addDriver($metadataDriver, 'someNamespace'); )
-> gives error message 'Entity # is not a valid entity or mapped superclass' instead of notifying that the entity's namespace is not added
@malukenho commented on GitHub (Jan 3, 2017):
@Ocramius user mistake?
@Ocramius commented on GitHub (Jan 4, 2017):
Indeed.