Copied to clipboard

Flag this post as spam?

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


  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Feb 18, 2016 @ 10:52
    Rasmus Fjord
    2

    After update to 7.4.1 cant access nested doctypes

    Just updated a solution from 7.3.4 to 7.4.1, everything seems to work but when i select any doctype that is nested under another doctype it throws a 500. (There is no fields inherited, its just for structure)

    umbraco/backoffice/UmbracoApi/ContentType/GetById?id=1048 http 500

     Mapping types:
     ContentType -> IEnumerable`1
     Umbraco.Core.Models.ContentType -> System.Collections.Generic.IEnumerable`1[[Umbraco.Web.Models.ContentEditing.PropertyGroupDisplay`1[[Umbraco.Web.Models.ContentEditing.PropertyTypeDisplay, umbraco, Version=1.0.5891.23243, Culture=neutral, PublicKeyToken=null]], umbraco, Version=1.0.5891.23243, Culture=neutral, PublicKeyToken=null]]
    
     Destination path:
     DocumentTypeDisplay.Groups.Groups
    
     Source value:
     Umbraco.Core.Models.ContentType
    
  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    Feb 18, 2016 @ 11:48
    Jeroen Breuer
    0

    Hello,

    I've also seen this error. Any more info? Haven't had time, but maybe it's fixed in the latest build: https://github.com/leekelleher/umbraco-nested-content/commits/develop

    Jeroen

  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Feb 18, 2016 @ 11:54
    Rasmus Fjord
    0

    Hey

    Sorry for bad choice of words :) "Nested".

    Because we dont have the package installed in our project :)

    So it must be a core thing i guess.

  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    Feb 23, 2016 @ 10:27
    Jeroen Breuer
    0

    Did you found a solution for this problem?

  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Feb 23, 2016 @ 10:31
    Rasmus Fjord
    0

    No not yet but im picking this one up again later on this week.

  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    Feb 29, 2016 @ 19:16
    Jeroen Breuer
    100

    Sorry that I keep asking, but I also had this issue and can't reproduce it and I would still like to know what might have caused this. Maybe create an error here? http://issues.umbraco.org/newissue

    Jeroen

  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Mar 01, 2016 @ 06:40
    Rasmus Fjord
    1

    Godmorning Jeroen :)

    No trouble in asking, and i actually figured out the error i got, and why. First of all i have to underline that it has nothing to with the package nested doctype grid editor.

    But the thing that occurd everytime we clicked a nested doctype, in the doctype editor, was a MNTP error. Because the doctype editor tries to render the current doctypeeditors a few fails, one of these that crashed big time was the MNTP with an xpath of $current, because of the missing context.

    So that was the error i experienced. Could it match any of yours ?

  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    Mar 01, 2016 @ 07:30
    Jeroen Breuer
    0

    Hi Rasmus,

    Hmm yes the rendering of the current doctype editor could be the same problem. So MNTP with an xpath of $current doesn't work anymore? Sounds like a pretty serious bug.

    Jeroen

  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Mar 01, 2016 @ 07:54
    Rasmus Fjord
    0

    Yeah it is quite major found a few others that drowns because of it, seochecker.

    Yeah maybe we should make a issue on it, we must find a solution for making these views so doctypes dosnt fail on default.

  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    Mar 01, 2016 @ 08:12
    Jeroen Breuer
    0

    I've created an issue here: http://issues.umbraco.org/issue/U4-8098

    Just tried to an MNTP with an xpath of $current on a 7.4.1 install, but that didn't crash.

  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Mar 01, 2016 @ 09:03
    Rasmus Fjord
    0

    Hm i dunno if it had any thing todo with that it was inherited.

  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Mar 01, 2016 @ 09:06
    Rasmus Fjord
    0

    We ended up removing the xpath on that MNTP and it worked from there.

  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    Mar 02, 2016 @ 08:33
    Jeroen Breuer
    0

    I just had this issue while opening a content node:

    An error occured
    
     Mapping types:
     Content -> String[]
     Umbraco.Core.Models.Content -> System.String[]
    
     Destination path:
     ContentItemDisplay.Urls.Urls
    
     Source value:
     Umbraco.Core.Models.Content
    
    EXCEPTION DETAILS
    
    AutoMapper.AutoMapperMappingException: 
    
     Mapping types:
     Content -> String[]
     Umbraco.Core.Models.Content -> System.String[]
    
     Destination path:
     ContentItemDisplay.Urls.Urls
    
     Source value:
     Umbraco.Core.Models.Content
    [DEFAULTDIALOGS_STACKTRACE]
    
    at Umbraco.Web.Editors.ContentController.GetById(Int32 id)
       at lambda_method(Closure , Object , Object[] )
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
       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.<InvokeActionAsyncCore>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.<CallOnActionExecutedAsync>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.<CallOnActionExecutedAsync>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.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>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.<CallOnActionExecutedAsync>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.<CallOnActionExecutedAsync>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.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>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.<CallOnActionExecutedAsync>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.<CallOnActionExecutedAsync>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.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>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.<CallOnActionExecutedAsync>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.<CallOnActionExecutedAsync>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.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>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.<CallOnActionExecutedAsync>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.<CallOnActionExecutedAsync>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.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>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.<ExecuteAsync>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.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>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.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>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.<SendAsync>d__1.MoveNext()
    

    The error is different, but also has something to do with mapping.

  • Jeroen Breuer 4861 posts 12134 karma points MVP 3x admin c-trib
    Mar 02, 2016 @ 10:29
    Jeroen Breuer
    0

    Also created an issue for this: http://issues.umbraco.org/issue/U4-8103

  • Rasmus Fjord 657 posts 1542 karma points c-trib
    Mar 02, 2016 @ 10:32
    Rasmus Fjord
    0

    Great

    The first error i think is actually related to nuget not getting the update right. Because when we pull down a clean repo make it on build pulls a fresh umbraco 741 and we dont get that error.

    We are investegating futher

  • Alexander Croner 71 posts 282 karma points
    Nov 15, 2017 @ 13:15
    Alexander Croner
    0

    Is this resolved yet? I just got it at a new site.

    I had it inherited on my page so I had to remove it from the documentType then add it again.

Please Sign in or register to post replies

Write your reply to:

Draft