ACP2E-5101:当索引器使用按计划更新时,Adobe Commerce B2B安装失败

ACP2E-5101修补程序修复了将索引器设置为​ Update by Schedule ​时,安装Adobe Commerce B2B模块失败的问题。 安装Quality Patches Tool (QPT) 1.1.83时,此修补程序可用。 修补程序ID为ACP2E-5101。 请注意,此问题已在Adobe Commerce 2.4.9中修复。

受影响的产品和版本

为Adobe Commerce版本创建了修补程序:

  • Adobe Commerce(所有部署方法) 2.4.6-p15

与Adobe Commerce版本兼容:

  • Adobe Commerce(所有部署方法)>=2.4.4 <2.4.7
NOTE
该修补程序可能适用于具有新Quality Patches Tool发行版本的其他版本。 要检查修补程序是否与您的Adobe Commerce版本兼容,请将magento/quality-patches包更新到最新版本,并在Quality Patches Tool:搜索修补程序页面上检查兼容性。 使用修补程序ID作为搜索关键字来查找修补程序。

问题

将索引器设置为​ Update by Schedule ​时,安装Adobe Commerce B2B模块失败。

无

重现步骤:

  1. 在管理员侧边栏上,转到​System > Tools > Index Management。 选择索引器,将​ Actions ​设置为​Update by Schedule,然后单击​Submit。
  2. 安装B2B扩展。
  3. 启用所有B2B模块。
  4. 运行bin/magento setup:upgrade。

预期的结果:

B2B模块安装成功,当索引器使用​ Update by Schedule ​时,bin/magento setup:upgrade完成,并且没有错误。

实际结果:

安装B2B模块时,bin/magento setup:upgrade失败,因为它尝试在表存在之前在shared_catalog_product_item表上创建数据库触发器。

应用修补程序

要应用单独的修补程序,请根据您的部署方法使用以下链接:

相关阅读

要了解有关Quality Patches Tool的更多信息,请参阅:

recommendation-more-help
commerce-operations-help-tools