Skip to content

Changing additional_images does not remove old images in csv import (Images not getting replaced) #33031

Open
@duckchip

Description

@duckchip

Preconditions (*)

Trying to update a product with a different set of additional images does not remove old images.

  1. 2.4.2-p1

Steps to reproduce (*)

  1. Create a csv file with 1 product, add the additional_images column with a path to an image in the var/import/images folder
  2. Import the csv file using add/update profile
  3. Navigate to the product edit page and confirm the image is available in the Images section of the page.
  4. Update the csv file with a different value for the additional_images column
  5. Import again
  6. Go back to the product edit page and open the Images section.

Expected result (*)

  1. The new image is added and the old image is removed

Actual result (*)

  1. The new image is added but the old image still exists.

I thought that #26713 would have fixed the issue but the issue still exists. According to #14398 (comment) the issue should have been fixed in 2.4.2

This issue can also be reproduced on 2.3.6 and above.


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • [x ] 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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions