Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alan Mac Kenna 147 posts 405 karma points MVP c-trib
    Apr 16, 2014 @ 01:31
    Alan Mac Kenna
    0

    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

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Apr 16, 2014 @ 07:59
    Jeavon Leopold
    0

    Hi Alan,

    Could you post your code that does this?

    Jeavon

  • Alan Mac Kenna 147 posts 405 karma points MVP c-trib
    Apr 16, 2014 @ 16:30
    Alan Mac Kenna
    0

    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

     

     

     

     

     

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Apr 16, 2014 @ 16:36
    Jeavon Leopold
    100

    Hi Alan,

    Looks like this might be a known issue here

    Jeavon

  • Alan Mac Kenna 147 posts 405 karma points MVP c-trib
    Apr 16, 2014 @ 17:46
    Alan Mac Kenna
    0

    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

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Apr 16, 2014 @ 18:55
    Jeavon Leopold
    0

    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

  • Alan Mac Kenna 147 posts 405 karma points MVP c-trib
    Apr 16, 2014 @ 22:59
    Alan Mac Kenna
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft