We have moved to GitHub Issues
Created by James Menendez 01 Nov 2017, 21:09:19 Updated by Sebastiaan Janssen 21 Feb 2018, 12:43:09
Relates to: U4-11000
We have an item in Media which we have change, we replaced it to a new image in the Media section.
On the page in the backend where the image is used the new image appear.
Also in the database in cmsContentXml the new image in the new folder appears.
We have cleared the cache, removed umbraco.config, resaved the page. Recycled app-pool and rebuilt the index. Still the old image appear when we preview the page and view the page on the website.
Deleting the examine indexes causes the old images to show.
This seemed to begin in Umbraco version 7+
It seems that Umbraco 7+ is handling upload of a new version of a media file (same name) differently than before 7 (probably until 7.5).
In earlier versions of Umbraco Media section it was possible to "re-upload" a new version of a media file (with identical name) directly to the existing media node, but this has changed. Now you need to remove the original file to be able to upload the new ... AND now the new upload does NOT keep the old folder-ID, but instead Umbraco assigns a new folder and folder-ID.
Since the original version of the media file is not being deleted from the server it will still be accessible.
Example: Original link to media file /media/1040/documentation.pdf New link to media file after "re-upload" of the updated version with identical filename to the same media node /media/1134/documentation.pdf
This can be a big issue if you're referring to a documentation pdf or image download with static links - and maybe even when using the media picker.
I'll close this as a duplicate of U4-8949 which has a few workarounds listed.
Backwards Compatible: True
Due in version: