magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.57k stars 9.32k forks source link

[2.4.7-p3] Duplicate image when product is edited through API #39349

Open iwanzijderveld opened 2 weeks ago

iwanzijderveld commented 2 weeks ago

Preconditions and environment

Steps to reproduce

  1. Post a product with one image using BASE64 format option on BULK API endpoint rest/all/async/bulk/V1/products
  2. Go to the product in the admin.
  3. See that 1 image is imported.
  4. Post the same request again
  5. See that the same image is added twice

Expected result

Existing image to be overridden.

Actual result

Image is duplicated

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 2 weeks ago

Hi @iwanzijderveld. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.

m2-assistant[bot] commented 2 weeks ago

Hi @engcom-Delta. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Delta commented 2 weeks ago

Hi @iwanzijderveld ,

Thanks for your reporting and collaboration. We have verified the issue in Latest 2.4-develop instance and the issue is reproducible. Kindly refer the screenshots.

Steps to reproduce

  1. Post a product with one image using BASE64 format option on BULK API endpoint rest/all/async/bulk/V1/products
  2. Go to the product in the admin.
  3. See that 1 image is imported.
  4. Post the same request again image
  5. See that the same image is added twice image

Thanks.

github-jira-sync-bot commented 2 weeks ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-13337 is successfully created for this GitHub issue.

m2-assistant[bot] commented 2 weeks ago

:white_check_mark: Confirmed by @engcom-Delta. Thank you for verifying the issue.
Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.