We have moved to GitHub Issues
Created by Shannon Deminick 23 Apr 2014, 06:36:11 Updated by Arjan 23 Apr 2014, 12:41:45
Relates to: U4-4744
The problem is due to the fact that we have to listen to the 'moving' and 'trashing' events for the cache refresher to work in order to be able to effectively clear the media cache, however we then don't have the new paths/level of the item.
We should update the MovingEventArgs to contain a reference to the original entity or path/level so we can use the moved and trashed events but still have a reference to their original paths.
Another issue relating to this is that if you trash a media item that has descendants, the descendants data is not fed to any event arg so their data is not updated, so paths, levels, etc... are not reflected in Examine. Going to investigate this now with Content too.
It's also true for content, examine indexes do not get updated with the correct paths/levels for recycled content either.
Thank you Shannon for getting into this. Just a question: could this issue be related (http://issues.umbraco.org/issue/U4-4546). As it seems that sometimes a weird cache/synchronisation issue occures. After deleting cache it is all ok.
Assignee: Shannon Deminick
Backwards Compatible: True
Affected versions: 6.0.0, 6.1.0, 7.0.0, 7.1.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.1.1, 6.0.6, 6.0.5, 6.0.7, 6.1.2, 6.1.3, 6.1.4, 6.1.5, 6.1.6, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.1
Due in version: 6.2.0, 7.1.2