Akeneo 2.2.5:未找到代码 "add_to_existing_product_model" 的 JobInstance
Akeneo 2.2.5: No JobInstance found with code "add_to_existing_product_model"
由于 akeneo.com 的论坛被锁定,我在这里发布了我的问题。
当我尝试通过批量编辑将 Produkts 添加到产品模型时,我收到以下错误消息:
No JobInstance found with code "add_to_existing_product_model"
[2018-06-19 19:39:31] request.INFO: Matched route "pim_enrich_mass_edit_rest_launch". {"route":"pim_enrich_mass_edit_rest_launch","route_parameters":{"_controller":"pim_enrich.controller.rest.mass_edit:launchAction","_route":"pim_enrich_mass_edit_rest_launch"},"request_uri":"http://pim.eu-trading.eu/rest/mass_edit/","method":"POST"} []
[2018-06-19 19:39:32] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Translation\Exception\NotFoundResourceException: "No JobInstance found with code "add_to_existing_product_model"" at ./vendor/akeneo/pim-community-dev/src/Pim/Bundle/EnrichBundle/MassEditAction/OperationJobLauncher.php line 59 {"exception":"[object] (Symfony\Component\Translation\Exception\NotFoundResourceException(code: 0): No JobInstance found with code \"add_to_existing_product_model\" at ./vendor/akeneo/pim-community-dev/src/Pim/Bundle/EnrichBundle/MassEditAction/OperationJobLauncher.php:59)"} []
我在使用最新版本的 Akeneo 2 (v2.2.5) 时遇到此错误。产品模型是手动创建的,要与模型关联的产品来自 api。
此错误看起来像是数据库中缺少作业。你运行所有的学说迁移了吗?
为此,您需要启动此命令:
bin/console doctrine:migrations:migrate --env=prod
如果您已经启动了迁移但失败了,您可以在别处安装一个干净的 2.2.5 PIM 并转储作业实例 table 以便能够添加丢失的作业。以下是 2.2 中要添加或更新的作业列表:
- add_association
- move_to_category
- add_to_category
- remove_from_category
- add_to_existing_product_model
- compute_family_variant_structure_changes
- compute_completeness_of_products_family
- add_attribute_value
- delete_products_and_product_models
由于 akeneo.com 的论坛被锁定,我在这里发布了我的问题。
当我尝试通过批量编辑将 Produkts 添加到产品模型时,我收到以下错误消息:
No JobInstance found with code "add_to_existing_product_model"
[2018-06-19 19:39:31] request.INFO: Matched route "pim_enrich_mass_edit_rest_launch". {"route":"pim_enrich_mass_edit_rest_launch","route_parameters":{"_controller":"pim_enrich.controller.rest.mass_edit:launchAction","_route":"pim_enrich_mass_edit_rest_launch"},"request_uri":"http://pim.eu-trading.eu/rest/mass_edit/","method":"POST"} []
[2018-06-19 19:39:32] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Translation\Exception\NotFoundResourceException: "No JobInstance found with code "add_to_existing_product_model"" at ./vendor/akeneo/pim-community-dev/src/Pim/Bundle/EnrichBundle/MassEditAction/OperationJobLauncher.php line 59 {"exception":"[object] (Symfony\Component\Translation\Exception\NotFoundResourceException(code: 0): No JobInstance found with code \"add_to_existing_product_model\" at ./vendor/akeneo/pim-community-dev/src/Pim/Bundle/EnrichBundle/MassEditAction/OperationJobLauncher.php:59)"} []
我在使用最新版本的 Akeneo 2 (v2.2.5) 时遇到此错误。产品模型是手动创建的,要与模型关联的产品来自 api。
此错误看起来像是数据库中缺少作业。你运行所有的学说迁移了吗?
为此,您需要启动此命令:
bin/console doctrine:migrations:migrate --env=prod
如果您已经启动了迁移但失败了,您可以在别处安装一个干净的 2.2.5 PIM 并转储作业实例 table 以便能够添加丢失的作业。以下是 2.2 中要添加或更新的作业列表:
- add_association
- move_to_category
- add_to_category
- remove_from_category
- add_to_existing_product_model
- compute_family_variant_structure_changes
- compute_completeness_of_products_family
- add_attribute_value
- delete_products_and_product_models