mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Why maps bundle class when should not? #6191
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 @BonBonSlick on GitHub (Mar 1, 2019).
Originally assigned to: @Ocramius on GitHub.
Support Question
We have own package bundle with abstract entity and default preset fields.
To make it work in project we create entity eg
namespace App\Entity;
use PackageName\BundleName\Entity\AbstractFaq;
use Doctrine\ORM\Mapping as ORM;
Exception during migration diff
[2019-03-01 15:14:29] request.CRITICAL: Uncaught PHP Exception Doctrine\ORM\Mapping\MappingException: "Class "PackageName\BundleName\Entity\AbstractFaq" is not a valid entity or mapped super class." at /srv/oppasland/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php line 346 {"exception":"[object] (Doctrine\\ORM\\Mapping\\MappingException(code: 0): Class ....Tell me please what I am missing?