This topic contains 3 replies, has 3 voices, and was last updated by Andrey Yatsenko 4 years, 4 months ago.
- Topic
I am trying to upload a file.
12[2018-06-15 13:28:42] request.CRITICAL: Uncaught PHP Exception Oro\Bundle\EntityConfigBundle\Exception\RuntimeException: "Entity "Tbd\SourceFactorBundle\Entity\Source" is not configurable" at /var/www/intranet-tbd/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/Config/ConfigManager.php line 335{"exception":"[object] (Oro\\Bundle\\EntityConfigBundle\\Exception\\RuntimeException(code: 0): Entity \"Tbd\\SourceFactorBundle\\Entity\\Source\" is not configurable at /var/www/intranet-tbd/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/Config/ConfigManager.php:335)"} []I do not understand what I have to do. How to make my entity configurable?
I added a class extend to my source entity, but no file generation: EX_TbdSourceFactoryBundle_Source. *12345678910111213141516/*** @Config()* @ORM\HasLifecycleCallbacks()* @ORM\Table(name="tbd_source")* @ORM\Entity(repositoryClass="Tbd\SourceFactorBundle\Entity\Repository\SourceRepository")*/class Source extends ExtendSource{/*** @var File** @ORM\ManyToOne(targetEntity="Oro\Bundle\AttachmentBundle\Entity\File",cascade={"persist"})* @ORM\JoinColumn(name="archive", referencedColumnName="id", nullable=true, onDelete="SET NULL")* @JMS\Exclude*/protected $archive;What is wrong ?
Thank you for your help
The forum ‘OroPlatform’ is closed to new topics and replies.