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

Images do not upload when added in the create variations step of a configurable #39189

Open ericsondesousa opened 2 months ago

ericsondesousa commented 2 months ago

Preconditions and environment

Steps to reproduce

  1. Create and enable multiple Sources.
  2. Start creating a configurable.
  3. In the configurable settings, click on "Create Configurations".
  4. In step 3, click "Apply single set of images to all SKUs" and add an image.
  5. The image does not load

image

Expected result

Allow bulk upload of images when the store has multiple Sources

Actual result

When the store has multiple Sources, the system does not upload the image in the bulk add images step when editing the variations of a configurable

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 2 months ago

Hi @ericsondesousa. 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. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 2 months ago

Hi @engcom-Bravo. 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-Bravo commented 2 months ago

Hi @ericsondesousa,

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 attached video.

https://github.com/user-attachments/assets/f18db72a-ecda-4f45-af9a-507cf9ceb734

When the store has multiple Sources, the system does not upload the image in the bulk add images step when editing the variations of a configurable

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 2 months ago

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

m2-assistant[bot] commented 2 months ago

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

wiktorkoscielny commented 2 weeks ago

Hi, I had the same issue. I managed to fix it by creating a mixin for the bindGalleries function in the vendor/magento/module-configurable-product/view/adminhtml/web/js/variations/steps/bulk.js file. While there are a few other ways to fix this, in my case, I needed a quick and reversible solution. After implementing the mixin, everything is working fine now.