Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Buckell 5 posts 55 karma points
    May 08, 2015 @ 15:21
    David Buckell
    0

    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()

  • David Buckell 5 posts 55 karma points
    May 08, 2015 @ 17:02
    David Buckell
    100

    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.

  • Tony 105 posts 163 karma points
    Jun 05, 2015 @ 12:25
    Tony
    0

    It doesnt let you delete users, you can only disable them

  • David Buckell 5 posts 55 karma points
    Jun 05, 2015 @ 12:44
    David Buckell
    0

    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 :)

  • TikTakToe 60 posts 102 karma points
    Jun 08, 2015 @ 11:56
    TikTakToe
    0

    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!

  • Alex Skrypnyk 6132 posts 23951 karma points MVP 7x admin c-trib
    Feb 18, 2020 @ 23:20
    Alex Skrypnyk
    0

    We have the same problem with Umbraco Cloud version 7.15.3

Please Sign in or register to post replies

Write your reply to:

Draft