U4-5079 - Opening 'Scripting files' gives error

Created by Søren Reinke 12 Jun 2014, 09:22:13 Updated by Shannon Deminick 01 Jul 2014, 03:13:42

In a newly installed Umbraco 7.2 Alpha, opening the 'Scripting Files' folder gives the following error, and the 'blue load animation' keeps going forever.

Failed to retrieve data for child nodes undefined StartIndex cannot be less than zero. Parameter name: startIndex

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex

Stack Trace:

at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at System.String.Substring(Int32 startIndex) at umbraco.loadDLRScripts.OnRenderFileNode(XmlTreeNode& xNode) at umbraco.cms.presentation.Trees.FileSystemTree.Render(XmlTree& tree) at Umbraco.Web.Trees.ApplicationTreeExtensions.TryGetXmlTree(ApplicationTree appTree, String id, FormDataCollection formCollection) at Umbraco.Web.Trees.ApplicationTreeExtensions.TryLoadFromLegacyTree(ApplicationTree appTree, String id, FormDataCollection formCollection, UrlHelper urlHelper, String currentSection) at Umbraco.Web.Trees.LegacyTreeController.GetTreeNodes(String id, FormDataCollection queryStrings) at Umbraco.Web.Trees.TreeControllerBase.GetNodes(String id, FormDataCollection queryStrings) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.b__4() at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)

Comments

Shannon Deminick 18 Jun 2014, 07:09:13

fixed in 56111be82dd1ed2fa24c3023c61b1d209229e35b


Søren Reinke 23 Jun 2014, 08:53:42

Hi Shannon

Any chance for an Umbraco 7.2 nightly with this patch applied? :)


Søren Reinke 30 Jun 2014, 12:08:55

Hi Shannon, has this patch been added to 7.2 nightly 115?

If so it does not work, still getting:

Received an error from the server Failed to retrieve data for child nodes undefined

StartIndex cannot be less than zero. Parameter name: startIndex

EXCEPTION DETAILS:

System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex STACKTRACE:

at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at System.String.Substring(Int32 startIndex) at umbraco.loadDLRScripts.OnRenderFileNode(XmlTreeNode& xNode) at umbraco.cms.presentation.Trees.FileSystemTree.Render(XmlTree& tree) at Umbraco.Web.Trees.ApplicationTreeExtensions.TryGetXmlTree(ApplicationTree appTree, String id, FormDataCollection formCollection) at Umbraco.Web.Trees.ApplicationTreeExtensions.TryLoadFromLegacyTree(ApplicationTree appTree, String id, FormDataCollection formCollection, UrlHelper urlHelper, String currentSection) at Umbraco.Web.Trees.LegacyTreeController.GetTreeNodes(String id, FormDataCollection queryStrings) at Umbraco.Web.Trees.TreeControllerBase.GetNodes(String id, FormDataCollection queryStrings) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.b__c(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.b__4() at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)


Shannon Deminick 01 Jul 2014, 03:13:42

no it hasn't been merged to 7.2 yet


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.0, 7.1.5

Due in version: 7.2.0, 7.1.5

Sprint:

Story Points:

Cycle: