OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums 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 6 years, 9 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #34438

    Dima Makaruk
    Participant

    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.

    But

    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)

The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.

Back to top