umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.37k stars 2.65k forks source link

Media uploaded in "random" order #16559

Open SigmundurMorkore opened 1 month ago

SigmundurMorkore commented 1 month ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.3.2

Bug summary

When uploading multiple media items at the same time (using drag and drop or similar) the resulting order of the items in the Media Folder are "random".

Specifics

Back in 10.1.19, when bulk uploading items, the resulting order of items would be the same as in operating system. However now in 13.3.2, the items are in a random order after uploading.

The order should be the same as the operating system, like it was in 10.1.19.

I have only tested 10.1.19 and 13.3.2, but I would guess the bug was introduced with the parallel upload improvement: https://github.com/umbraco/Umbraco-CMS/pull/12947


Bug is likely that now media is uploaded in parallel, and the media items are sorted in the order they are created. A improved implementation would tell the server which order the media items should take.

Steps to reproduce

Create a bunch of different files on your operating system labeled:

Upload them using a bulk upload (like click and drag) into a media folder in BackOffice.

Expected result / actual result

The result is that the media items do not take the same ordering as they did in the operating system.

github-actions[bot] commented 1 month ago

Hi there @SigmundurMorkore!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

Zeegaan commented 1 month ago

Heyo I can reproduce this, thanks for reporting 🐛 I am marking this as up for grabs as we'd love some help with this 😁

github-actions[bot] commented 1 month ago

Hi @SigmundurMorkore,

We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know.

For more information about issues and states, have a look at this blog post.

Thanks muchly, from your friendly Umbraco GitHub bot :-)