Today in our production environment users are getting error while accessing Media section from left menu and accessing Media from Mark Down and Rich Text editors.
Below is error message
Received an error from the server
An error occured
Mapping types:
Media -> UserBasic
Umbraco.Core.Models.Media -> Umbraco.Web.Models.ContentEditing.UserBasic
Mapping types:
Media -> UserBasic
Umbraco.Core.Models.Media -> Umbraco.Web.Models.ContentEditing.UserBasic
Destination path:
ContentItemBasic`2.Owner.Owner
Source value:
Umbraco.Core.Models.Media
STACKTRACE
at System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext()
at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Umbraco.Web.WebApi.Filters.FilterAllowedOutgoingMediaAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.
at System.Web.Http.Dispatcher.HttpControllerDispatcher.
AutoMapper error while accessing Media section
Today in our production environment users are getting error while accessing Media section from left menu and accessing Media from Mark Down and Rich Text editors.
Below is error message
Received an error from the server An error occured
Mapping types: Media -> UserBasic Umbraco.Core.Models.Media -> Umbraco.Web.Models.ContentEditing.UserBasic
Destination path: ContentItemBasic`2.Owner.Owner
Source value: Umbraco.Core.Models.Media
EXCEPTION DETAILS AutoMapper.AutoMapperMappingException:
Mapping types: Media -> UserBasic Umbraco.Core.Models.Media -> Umbraco.Web.Models.ContentEditing.UserBasic
Destination path: ContentItemBasic`2.Owner.Owner
Source value: Umbraco.Core.Models.Media
STACKTRACE at System.Linq.Enumerable.WhereSelectArrayIterator
2.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source) at Umbraco.Web.WebApi.Filters.FilterAllowedOutgoingMediaAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext) at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.at System.Web.Http.Dispatcher.HttpControllerDispatcher.
is working on a reply...