U4-10046 - Stop resolving TreeController from the PluginManager for every back office request

Created by Shannon Deminick 21 Jun 2017, 08:10:16 Updated by Sebastiaan Janssen 21 Jun 2017, 08:15:12

Subtask of: U4-9609

The BackOfficeController currently resolves all tree types using PluginManager.Current.ResolveAttributedTreeControllers() but the PluginManager shouldn't be used to re-resolve types over and over again so instead the controller should store these in a static variable. That way we are not re-scanning and re-logging everytime the back office loads


Shannon Deminick 21 Jun 2017, 08:12:16

PR: https://github.com/umbraco/Umbraco-CMS/pull/2013

To test:

  • Start umbraco, ensure no errors
  • Load the back office, ensure no errors
  • Refresh the back office, ensure that the log INFO Umbraco.Core.PluginManager - Starting resolution types of Umbraco.Web.Trees.TreeController isn't re-logged

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.6.4


Story Points:

Cycle: 2