U4-4679 - Children on media folder return deleted images

Created by Yakov Lebski 11 Apr 2014, 19:31:17 Updated by Chad T 05 May 2014, 05:26:17

Is duplicated by: U4-3790

Is duplicated by: U4-4751

Is duplicated by: U4-4818

Relates to: U4-4744


  1. Create folder in media
  2. add two files to this folder
  3. In code: Umbraco.TypedMedia (XXX).Children -> 2 children
  4. Remove on image 5.In code: Umbraco.TypedMedia (XXX).Children -> still 2 children

After rebuild InternalIndexer, start work correctly


Shannon Deminick 16 Apr 2014, 06:49:32

I'll see if i can replicate this this week.

Alan Mac Kenna 16 Apr 2014, 15:44:40

I've expereicened the same issue:



Shannon Deminick 23 Apr 2014, 03:07:15

The issue is that the query to get children based on Examine doesn't ignore trashed items. I believe this will be an issue for 6.x version of Umbraco as well!

Priority: Major

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.0, 6.1.6, 7.0.4

Due in version: 6.2.0, 7.1.2


Story Points: