We have noticed a couple of unrelated content nodes can no longer be loaded within the cms. We are unable to even access the context menu for these items.
There are several other content nodes of the same doctype and these are loading fine.
I am unaware of what caused this as it is within our clients environment.
Any ideas what caused this and how to resolve, rather than deleting the content node via SQL script?
yeah, either we deleted them via sql script or an older version of umbraco did allow this.
either way it is strongly advised that you do not delete users that have manipulated the content tree. hence why it isn't possible to delete them i guess :)
I've started a new thread on this subject, as I need to delete users, but there seems to be little concrete info on how best to do so, even though it seems to be a common issue.
Hopefully we can get some good discussion going and come up with a solution that works - I'm aiming to try out the latest against a backup of my live site, and I'll post my findings when done, fingers crossed!
Failed to retrieve data for content id ####
Hi,
We have noticed a couple of unrelated content nodes can no longer be loaded within the cms. We are unable to even access the context menu for these items.
There are several other content nodes of the same doctype and these are loading fine.
I am unaware of what caused this as it is within our clients environment.
Any ideas what caused this and how to resolve, rather than deleting the content node via SQL script?
The error displayed is:
Received an error from the server
Failed to retrieve data for content id 1725
Mapping types: Content -> UserBasic Umbraco.Core.Models.Content -> Umbraco.Web.Models.ContentEditing.UserBasic Destination path: ContentItemDisplay.Updater.Updater Source value: Umbraco.Core.Models.Content
EXCEPTION DETAILS:
AutoMapper.AutoMapperMappingException: Mapping types: Content -> UserBasic Umbraco.Core.Models.Content -> Umbraco.Web.Models.ContentEditing.UserBasic Destination path: ContentItemDisplay.Updater.Updater Source value: Umbraco.Core.Models.Content
STACKTRACE:
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()
Solved.
My issue was due to the user who created the item had since been deleted from the CMS.
I managed to reinsert the missing row into the umbracoUser table via some custom SQL and that resolved the issue.
May or may not help someone else but worth mentioning.
No idea why Umbraco allows you to delete users if it has the potential to cause such issues.
It doesnt let you delete users, you can only disable them
yeah, either we deleted them via sql script or an older version of umbraco did allow this.
either way it is strongly advised that you do not delete users that have manipulated the content tree. hence why it isn't possible to delete them i guess :)
Hi
I've started a new thread on this subject, as I need to delete users, but there seems to be little concrete info on how best to do so, even though it seems to be a common issue.
Hopefully we can get some good discussion going and come up with a solution that works - I'm aiming to try out the latest against a backup of my live site, and I'll post my findings when done, fingers crossed!
We have the same problem with Umbraco Cloud version 7.15.3
is working on a reply...