OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums OroPlatform OroPlatform – How do I? Questions Extend core entity (Opportunity)

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 1 year, 4 months ago.

  • Creator
  • #36643


    Can somebody please tell me how to extend an entity?
    I have made a migration:

    I have extended the entity

    And now I get this error:

    Clear the entity config cache

    In MappingException.php line 46:

    No identifier/primary key specified for Entity “OpportunityBundle\Entity\Opportunity” sub class of “OpportunityBundle\Entity\ExtendOpportunity”. Every Entity must have an identifier/primary key.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No