Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
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
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)
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 :)
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...
Write your reply to:
Image will be uploaded when post is submitted