Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroPlatform OroPlatform – Programming Questions How properly remove an Entity that has a config on oro_entity_config

This topic contains 2 replies, has 2 voices, and was last updated by  Dima Makaruk 7 months, 1 week ago.

  • Creator
  • #60908

    Dima Makaruk

    I had an entity DDD\Entity\SaledItems that had a config in oro_entity_config table . With the next commit the entity class was removed(deleted), as it is not used anymore. Running oro:platform:update fails with an exception : Class DDD\Entity\SaledItems does not exist

    It tries to warm up the entity config cache , finds the entity config in the table, but the class does not exists anymore and it fails.

    Deleting the config from the oro_entity_config table fixes the problem.


    How should be entities removed in a proper way to avoid such exceptions ?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.