U4-7728 - Folder view in media section gives an exception

Created by Claus Jensen 14 Jan 2016, 08:16:34 Updated by Claus Jensen 14 Jan 2016, 08:51:37

Browsing to a folder in media section gives this exception:

Received an error from the server
Failed to retrieve data for media id 1088


 
 Mapping types:
 IMedia -> MediaItemDisplay
 Umbraco.Core.Models.IMedia -> Umbraco.Web.Models.ContentEditing.MediaItemDisplay
 
 Destination path:
 MediaItemDisplay
 
 Source value:
 Umbraco.Core.Models.Media

EXCEPTION DETAILS:

AutoMapper.AutoMapperMappingException: 
 
 Mapping types:
 IMedia -> MediaItemDisplay
 Umbraco.Core.Models.IMedia -> Umbraco.Web.Models.ContentEditing.MediaItemDisplay
 
 Destination path:
 MediaItemDisplay
 
 Source value:
 Umbraco.Core.Models.Media

Comments

Claus Jensen 14 Jan 2016, 08:43:20

@sebastiaan could you review this commit .. Seems to work and all tests pass, but I think the bug was related to what you did with showing the umbracoFile property, so just want to ensure what you fixed is still working?

https://github.com/umbraco/Umbraco-CMS/commit/13a9f40815933bf645263d5ae6874071c3826563


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.0, 7.3.5

Due in version: 7.4.0

Sprint: Sprint 6

Story Points:

Cycle: