ORO CRM unable to create unique keys - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Saturday, February 26, 2022

ORO CRM unable to create unique keys

orocrm 5.0, ubuntu serve arm64, installed with composer & symfony

I'm trying to create a unique key in Account entity with a custom field "domain" but this error in logs appear :

[2022-02-25T17:31:17.246271+00:00] request.INFO: Matched route "oro_entityextend_entity_unique_key". {"route":"oro_entityextend_entity_unique_key","route_parameters":{"_route":"oro_entityextend_entity_unique_key","id":"79","_controller":"Oro\\Bundle\\EntityExtendBundle\\Controller\\ConfigEntityGridController::uniqueAction"},"request_uri":"https://orocrm.webmore.fr:8000/entity/extend/entity/unique-key/79","method":"POST"} []
[2022-02-25T17:31:17.375084+00:00] request.CRITICAL: Uncaught PHP Exception Oro\Bundle\EntityConfigBundle\Exception\EntityConfigValidationException: "Invalid entity config for "Oro\Bundle\AccountBundle\Entity\Account": Unrecognized option "unique_key" under "entity". Available options are "contact_information", "description", "entity_alias", "entity_plural_alias", "grid_all_view_label", "icon", "label", "plural_label"." at /home/ubuntu/crm/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/EntityConfig/ConfigurationHandler.php line 128 {"exception":"[object] (Oro\\Bundle\\EntityConfigBundle\\Exception\\EntityConfigValidationException(code: 0): Invalid entity config for \"Oro\\Bundle\\AccountBundle\\Entity\\Account\": Unrecognized option \"unique_key\" under \"entity\". Available options are \"contact_information\", \"description\", \"entity_alias\", \"entity_plural_alias\", \"grid_all_view_label\", \"icon\", \"label\", \"plural_label\". at /home/ubuntu/crm/vendor/oro/platform/src/Oro/Bundle/EntityConfigBundle/EntityConfig/ConfigurationHandler.php:128)"} []

Someone can explain the problem here ?

Thanks.



source https://stackoverflow.com/questions/71269674/oro-crm-unable-to-create-unique-keys

No comments:

Post a Comment