OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce How to delete custom entity from database?

This topic contains 1 reply, has 2 voices, and was last updated by  Viacheslav Bemza 6 years, 3 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
  • #32595

    Prabhat
    Participant

    Hi,

    I was trying to delete the custom entities from my application but the problem I am facing is that even if I delete the custom entities from the GUI but the doctrinecache files are still present in prod cache directory for the same entity and they show traces of my custom entity as extended entity. I have tried clearing the prod cache and doctrine cache but still prod cache has the doctrinecache files for the extended entities.
    If I try hard deleting the extended entities from database, it starts throwing exception the extended entity is not configurable. After that, clearing the cache also doesn’t help.

    Please help.

    Regards,
    Prabhat Nagpal

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #32596

    Viacheslav Bemza
    Participant

    Hello, Prabhat!

    Can you clarify, did you create custom entities from UI using Entity Management tools?

    If no, I suggest to remove all configs from your database that relates to your entity. You can find this configs in oro_entity_config and oro_entity_config_field tables. After that – remove caches and run platform update command:

Viewing 1 replies (of 1 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top