This topic contains 2 replies, has 2 voices, and was last updated by abel 7 years, 8 months ago.
- Topic
I was update some column to orocrm_magento_customer table by migrations. It’s worked fine!
Now I want use some field in this table, I create a entity class in my bundle and extends Customer class (OroCRM\Bundle\MagentoBundle\Entity\Customer).
But when I no use any annotation, this error is occurred:1orocrm Class "my/entity/class" sub class of "OroCRM\Bundle\MagentoBundle\Entity\Customer" is not a valid entity or mapped super class.When I add annotation @ORM\Table and @ORM\Entity, that error is not occurred, but all column I create in orocrm_magento_customer table were deleted. And it’s create new table, when I add field name=”orocrm_magento_customer” to @ORM\Table then it’s occurred error: Table already exist
Someone can help?
The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.