Skip to content

Product will not export if product has image label names but no images #36749

Closed
@git-seb

Description

@git-seb

Preconditions and environment

  • Magento version 2.4.5-p1
  • Flat Catalog Product
  • Error in log: main.CRITICAL: Exception: Warning: Undefined array key "base_image" in /vendor/magento/module-catalog-import-export/Model/Export/Product.php on line 1404 in /vendor/magento/framework/App/ErrorHandler.php:62
  • I can see the product trying to export has image label names in the database (image_label, small_image_label, thumbnail_label) but no product images (image, small_image, thumbnail) resulting in the upper error when exporting. How those products have label names, is probably due to a product import, but should still not result in issues for exporting them.

Steps to reproduce

  1. Open System > Data Transfer > Export
  2. Choose Products
  3. Filter on SKU with image label names but no images

Expected result

Export successfully without issues

Actual result

Export fails or incomplete (leaves out products with having both cases: image label names + without images)

Additional information

No response

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.5-p1Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions