If I pull back the child images of a Folder in the Media Section I don't expect images that were deleted from that folder and are now in the Recycle Bin to be returned... but they are. Is this expected behaviour?
You can see from the screenshots below that it is returning images inlcuding the one in the Recycle Bin. This turns out to be due to the Examine indexes not updating once an image has been deleted. Once I deleted the index files from App_Data\Temp\ExamineIndexes\Internal the index rebuilt and my issue was resolved. I'm curious if others are seeing this same issue or is it somehow related to permissions at my end. I've duplicated on two different machines.
I've never actually used it as I forget it's there but yes there is! In the developer section dashboard there is a tab called "Examine Management" within the indexes you can click rebuild.
Media in Recycle Bin still returned as children
If I pull back the child images of a Folder in the Media Section I don't expect images that were deleted from that folder and are now in the Recycle Bin to be returned... but they are. Is this expected behaviour?
Cheers,
Alan
Hi Alan,
Could you post your code that does this?
Jeavon
Hi Jeavon,
This seems to be related to another issue that I posted on:
http://our.umbraco.org/forum/umbraco-7/using-umbraco-7/49930-Requesting-children-in-a-media-folder-returns-images-that-no-longer-exist
You can see from the screenshots below that it is returning images inlcuding the one in the Recycle Bin. This turns out to be due to the Examine indexes not updating once an image has been deleted. Once I deleted the index files from App_Data\Temp\ExamineIndexes\Internal the index rebuilt and my issue was resolved. I'm curious if others are seeing this same issue or is it somehow related to permissions at my end. I've duplicated on two different machines.
Many thanks,
Alan
Hi Alan,
Looks like this might be a known issue here
Jeavon
Thanks Jeavon,
I couldn't spot it in Youtrack. Out of interest do you know if there is a way to rebuild the examine index other than deleting it in the filesystem?
Cheers,
Alan
Hi Alan,
I've never actually used it as I forget it's there but yes there is! In the developer section dashboard there is a tab called "Examine Management" within the indexes you can click rebuild.
Jeavon
aha great! I didn't know that was there and it was staring me in the face. That'll come in handy until this bug is resolved.
Thanks Jeavon!
is working on a reply...