DDC-1169: Entities outside of drivers' namespaces only give 'is not a valid entity' #1468

Closed
opened 2026-01-22 13:15:22 +01:00 by admin · 2 comments
Owner

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

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
admin added the BugInvalidMissing Tests labels 2026-01-22 13:15:22 +01:00
admin closed this issue 2026-01-22 13:15:22 +01:00
Author
Owner

@malukenho commented on GitHub (Jan 3, 2017):

@Ocramius user mistake?

@malukenho commented on GitHub (Jan 3, 2017): @Ocramius user mistake?
Author
Owner

@Ocramius commented on GitHub (Jan 4, 2017):

Indeed.

@Ocramius commented on GitHub (Jan 4, 2017): Indeed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#1468