V8/Warn editor when deleting a media item that is in use#9118
V8/Warn editor when deleting a media item that is in use#9118dawoe wants to merge 101 commits intoumbraco:v8/item-trackingfrom dawoe:v8/temp_8693
Conversation
…or performance reasons. Looping through the descendants and checking each one individually for references was terribly slow
|
Hey @dawoe Thanks also for this 👍 We'll shout if we have questions, Em |
|
@dawoe YES YES YES! This is so great, thank you! :-D |
# Conflicts: # src/Umbraco.Web.UI/Umbraco/config/lang/en.xml # src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
# Conflicts: # src/SolutionInfo.cs
* Add option to remove/cancel added crops * Move vm functions to top * Only show cancel button for empty/new crop
…ions. (cherry picked from commit 71a1817)
# Conflicts: # src/SolutionInfo.cs
… these dialogs with more content.
|
@nielslyngsoe changes haven been merged in to this one |
|
How is it going with PR? Has the functionality been added to the main branch yet? |
|
Hi there @dawoe! Thanks for the contribution here and apologies if it has been a while since you heard from us. We have been in the very fortunate position of having lots of work to do. With this in mind, we are writing to let you know that with the release of the Long Term Support (LTS) version, 8.18, we have now moved into the support phase of Umbraco 8. You can read all about that here but to surmise, we will be keeping Umbraco 8 safe and well by releasing patching for security or regression issues if they arise but no longer will we do that for bug fixes. The same is still true for features, although we stopped merging those some time ago. We'd love for you to keep contributing and while we are not able to merge this to Umbraco 8, if this is still something you'd like to see in Umbraco 9, please take a look and either create an issue to say so or find an issue that already exists. We'll be happy to give you some input around how you can adjust your pull request to target Umbraco 9. Even better, it might be something that Umbraco 9 already does or has. In which case, enjoy! Once again, a huge thank you for the time you have spent working with us. #H5YR |
Prerequisites
If there's an existing issue for this PR then this fixes #8693
Description
This PR introduces a warning to editors when they try to delete a media item or folder in the media section when the item or one of the underlying items of a folder is in use.
Note for reviewers
This PR builds on top of PR #9116 so it's recommend that that one is reviewed and merged first.
Steps to test
See steps for media in #9116. When you try to delete the item a warning is shown + information of the references.