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.4k stars 2.66k forks source link

Medi Picker is no longer auto selecting media that's been uploaded #16786

Open husnain-majeed opened 1 month ago

husnain-majeed commented 1 month ago

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

13.4.0

Bug summary

We recently upgraded our Umbraco instances from 10.x.x to 13.4.0 and have come realize that a vital feature seems to have been lost.

When someone upload's an image in the media picker property - of one of our doc types, the image is not auto selected like it used to be. Instead the user has to manually search for the file and select it. (See GitHub links below for further insight)

Link to visual example from before the solution feature was added: https://github.com/umbraco/Umbraco-CMS/issues/6844 Link to the solution feature that seems to no longer be working: https://github.com/umbraco/Umbraco-CMS/pull/6995

Specifics

This happens regardless of it its an existing content using the doc type, or if it is the first version of it that's being created. We are also using a conditional displayer to show or hide the media picker in our parent doc type and then inheriting from it.

Overview of parent doc type: Screenshot 2024-07-17 115905

Overview of child doc type: Screenshot 2024-07-17 120412

Conditional displayer: Screenshot 2024-07-17 115851

Media picker config: Screenshot 2024-07-17 115816

have tried different browser and incognito tab

Steps to reproduce

Recreate a doc type / media picker with configurations show in above screenshots. Add a content node using the doc type and during so upload an image to the media picker.

Expected result / actual result

No response

github-actions[bot] commented 1 month ago

Hi there @husnain-majeed!

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:

DempseySbaiz commented 1 month ago

We have the same issue. Our customer is complaining (and correctly so) that an update caused them to lose this functionality. It's not very user friendly that you have to re-select the uploaded file.

bjarnef commented 1 month ago

I noticed this as well on some of our recent projects. Not sure when it was broken though.

gjensonksl commented 3 weeks ago

I think this might be the place to mention this. We noticed that between 13.0 and 13.4.1 that when uploading any image using drag and drop into a media folder the file type ends up as File rather than Image. This prevents the Image Media Selector from correctly identifying the media for use and prevents it from being selected. Also because of this images are not displayed in the folder or media selection sidebar with thumbnail images which makes user selection very bothersome. We'd really like to see this dealt with since we have a good number of marketing folks that need this to function as before. Our production site is using 7.8.1 and it works nominally as expected. I can provide further details if needed.