We have moved to GitHub Issues
Created by Mads Rasmussen 13 Feb 2017, 13:26:43 Updated by Claus Jensen 08 Mar 2017, 12:13:32
Subtask of: UAASSCRUM-810
When I delete a media item from the media library it gets moved to the recycle bin but the media item stil shows up in the root.
@madsrasmussen can you explain this a little better?
I've definitely discovered an issue with the EntityController and the GetPagedDescendants call returning items in the recycle bin which I've fixed, but I'm unsure as to what you are talking about here. Deleting media items will not show up in the main media tree, only in the recycle bin or are you referring to something else?
They are moved correctly in the tree but the dashboard shows the images. I did some more testing on this and found a bug which might be related. I have tested this in the dev-7.6 branch so it might have been fixed somewhere else.
Images from folders show up in media root How to reproduce.
I have added two images to show the two scenarios:
Hrm, this may be fixed with http://issues.umbraco.org/issue/U4-9293
So the MediaService.GetPagedChildren didn't filter on ParentId if it was the root node so all media items would be shown - also if they were trashed. I have submitted a PR to fix this https://github.com/umbraco/Umbraco-CMS/pull/1779
Applied to the ContentService as well in same PR
Backwards Compatible: True
Affected versions: 7.6.0
Due in version:
Sprint: Sprint 54
Story Points: 1