Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1474 posts 3451 karma points c-trib
    Mar 11, 2015 @ 20:55
    Simon Dingley
    0

    Index was outside the bounds of the array

    I've installed this in a v6.2.1 install and am getting an empty tree. I can see in the console that the tree is throwing a 500 error as follows:

    [IndexOutOfRangeException: Index was outside the bounds of the array.] Yoyocms.Umbraco.TagManager.loadTagMaint.Render(XmlTree& tree) +1446    umbraco.presentation.webservices.TreeDataService.LoadTree(TreeRequestParams treeParams) +76    umbraco.presentation.webservices.TreeDataService.GetXmlTree() +156    umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +123    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    +341    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
    

    We have 400+ tags in the database so that's not the issue.

    Can you make the source available for version 2.1 so that I can attempt to debug and fix the issue please?

    Thanks, Simon

  • Simon Dingley 1474 posts 3451 karma points c-trib
    Mar 12, 2015 @ 17:38
    Simon Dingley
    100

    Fixed! It was a result of all tags in the database not belonging to a group r more specifically the group was blank. I raun a simple query to add them to a group called "default" and the tree loaded fine.

    update cmsTags set [group] = 'default'
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies