Open saltomorales opened 4 months ago
Hi @saltomorales. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Picture is uploaded and visible in the preview.
Actual result (*)
Infinite loader is visible in the image preview. Image is not uploaded. There are errors in the console:
and:
How to fix
It's because there's wrong upload URL fetched (actually there is no upload URL at all) here: Magento_ConfigurableProduct/js/variations/steps/bulk.js:374
and Magento_InventoryConfigurableProductAdminUi::catalog/product/edit/attribute/steps/bulk.phtml:85 does not use
browse-file
file class:as Magento_ConfigurableProduct::catalog/product/edit/attribute/steps/bulk.phtml uses:
There are two possible ways to solve the issue:
browse-file
class to the input in the Magento_InventoryConfigurableProductAdminUi's bulk.phtml template:(Please note, that there are two inputs).