Product Gallery Image Uploading Not In Order
Open
Area: Product
Component: Image
Issue: Confirmed
Priority: P2
Progress: ready for dev
Reported on 2.4.7
Reproduced on 2.4.x
- Dominant language
- PHP
- Stars
- 12.2k
- Forks
- 9.4k
- PR merge metrics
- No merged PRs in 30d
Description
Preconditions and environment
- Magento 2.4.7 >
Steps to reproduce
- Create a new simple product in the backend.
- Give it a name, sku and price.
- Save the product.
- Go to the
Images And Videostab. - Select the browse to find element.
- Now select multiple images while holding command.
- Then select open
Expected result
The images you upload are shown in the gallery in order.
Actual result
The images are in a random order and not how you select them
Additional information
In version 2.4.6 this was not the case. It is since 2.4.7.
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”.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the upload flow in the Magento 2.4.7 backend under Images and Videos, then compare its ordering with 2.4.6. Review the open pull request #40366 before starting; the issue is done when selecting multiple images preserves their selection order in the product gallery.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100