Fix, now boots and runs
This commit is contained in:
@@ -81,7 +81,7 @@ namespace Umbraco.Web.Trees
|
||||
/// <returns></returns>
|
||||
private async Task<TreeNode> GetRootForMultipleAppTree(ApplicationTree configTree, FormDataCollection queryStrings)
|
||||
{
|
||||
if (configTree == null) throw new ArgumentNullException("configTree");
|
||||
if (configTree == null) throw new ArgumentNullException(nameof(configTree));
|
||||
var byControllerAttempt = await configTree.TryGetRootNodeFromControllerTree(queryStrings, ControllerContext);
|
||||
if (byControllerAttempt.Success)
|
||||
{
|
||||
@@ -108,7 +108,7 @@ namespace Umbraco.Web.Trees
|
||||
private async Task<SectionRootNode> GetRootForSingleAppTree(ApplicationTree configTree, string id, FormDataCollection queryStrings, string application)
|
||||
{
|
||||
var rootId = Constants.System.Root.ToString(CultureInfo.InvariantCulture);
|
||||
if (configTree == null) throw new ArgumentNullException("configTree");
|
||||
if (configTree == null) throw new ArgumentNullException(nameof(configTree));
|
||||
var byControllerAttempt = configTree.TryLoadFromControllerTree(id, queryStrings, ControllerContext);
|
||||
if (byControllerAttempt.Success)
|
||||
{
|
||||
@@ -167,9 +167,5 @@ namespace Umbraco.Web.Trees
|
||||
|
||||
throw new ApplicationException("Could not render a tree for type " + configTree.Alias);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user