为什么我不能覆盖基于 Symfony 的 Akeneo 中的家庭?
我已经成功地覆盖了类别。
我已遵循本指南。https://docs.akeneo.com/1.7/cookbook/category/add-properties-to-category.html
刚刚发现了一些对调试很重要的东西。当我输入终端时:
php app/console debug:router | grep category
然后显示
pim_enrich_category_rest_list_selected_children GET ANY ANY /enrich/category/rest/{identifier}/selected-children
pim_enrich_category_rest_list GET ANY ANY /enrich/category/rest
pim_enrich_category_rest_get GET ANY ANY /enrich/category/rest/{identifier}
pim_enrich_categorytree_listtree ANY ANY ANY /enrich/product-category-tree/list-tree.{_format}
pim_enrich_categorytree_movenode ANY ANY ANY /enrich/product-category-tree/move-node
pim_enrich_categorytree_children ANY ANY ANY /enrich/product-category-tree/children.{_format}
pim_enrich_categorytree_index ANY ANY ANY /enrich/product-category-tree/
pim_enrich_categorytree_create ANY ANY ANY /enrich/product-category-tree/create/{parent}
pim_enrich_categorytree_edit ANY ANY ANY /enrich/product-category-tree/{id}/edit
pim_enrich_categorytree_remove DELETE ANY ANY /enrich/product-category-tree/{id}/remove
pim_enrich_product_listcategories ANY ANY ANY /enrich/product/list-categories/product/{id}/parent/{categoryId}.{_format}
pim_enrich_product_category_rest_list GET ANY ANY /enrich/product/rest/{id}/categories
pim_api_category_list GET ANY ANY /api/rest/v1/categories
pim_api_category_get GET ANY ANY /api/rest/v1/categories/{code}
pim_api_category_create POST ANY ANY /api/rest/v1/categories
pim_api_category_partial_update PATCH ANY ANY /api/rest/v1/categories/{code}
pim_api_category_partial_update_list PATCH ANY ANY /api/rest/v1/categories
当我输入终端时:
php app/console debug:router | grep family
pim_enrich_family_index ANY ANY ANY /configuration/family/.{_format}
pim_enrich_family_create ANY ANY ANY /configuration/family/create
pim_enrich_family_edit ANY ANY ANY /configuration/family/{code}/edit
pim_enrich_family_rest_index GET ANY ANY /configuration/family/rest
pim_enrich_family_rest_get GET ANY ANY /configuration/family/rest/{identifier}
pim_enrich_family_rest_put PUT ANY ANY /configuration/family/rest/{code}
pim_enrich_family_rest_remove DELETE ANY ANY /configuration/family/rest/{code}
pim_enrich_mass_edit_family_action_choose GET|POST ANY ANY /enrich/mass-edit-action/family/choose/{operationGroup}
pim_enrich_mass_edit_family_action_configure GET|POST ANY ANY /enrich/mass-edit-action/family/{operationAlias}/configure
pim_enrich_mass_edit_family_action_perform POST ANY ANY /enrich/mass-edit-action/family/{operationAlias}/perform
pim_api_family_list GET ANY ANY /api/rest/v1/families
pim_api_family_get GET ANY ANY /api/rest/v1/families/{code}
pim_api_family_create POST ANY ANY /api/rest/v1/families
pim_api_family_partial_update PATCH ANY ANY /api/rest/v1/families/{code}
pim_api_family_partial_update_list PATCH ANY ANY /api/rest/v1/families
我搜索家庭的部分,显示没有丰富。