I created a custom entity “test_entity” using UI. I checked the box under Communication & Collaboration tab Activities -> Notes
I deleted the custom entity later on using the UI and updates Schema. But the Entity still exists in the DB under oro_entity_config table.
This was creating issues since when I try to update cache using php bin/console cache:clear with below errorPHP123Processor failed: "oro_api.collect_subresources.initialize_subresources". Reason: Processor failed: "oro_api.get_config.complete_definition". Reason: Cannot resolve dependency to "open_projects_ef5289fc" specified for "Oro\Bundle\NoteBundle\Entity\Note::activityTargets". Check "depends_on" option for this field.
Things I have tried so far:
– Deleting the custom entity from DB in oro_entity_config table but that didnt help
– Tried php bin/console oro:entity-config:update –force hoping that Meatdata could be out of sync with real DB but that didnt help
– Created the entity again with the same name using the UI and this time didnt check the box for Notes. I was hoping that would update the dependencies, but that didnt help.
At this point I am unable to clear cache because of this. This is error I am getting now:PHP1234567891011121314151617In AbstractMySQLDriver.php line 79:An exception occurred while executing 'SELECT t0.serialized_data AS serialized_data_1, t0.id AS id_2, t0.name AS name_3, t0.formatting_code AS formatting_code_4, t0.created_at AS created_at_5, t0.updated_at AS updated_at_6, t0.language_id AS language_id_7, t0.parent_id AS parent_id_8 FROM oro_localization t0 ORDER BY t0.name ASC':SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.serialized_data' in 'field list'In PDOConnection.php line 109:SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.serialized_data' in 'field list'In PDOConnection.php line 107:SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.serialized_data' in 'field list'
I’d appreciate any help with this!
You must be logged in to reply to this topic.