Merge remote-tracking branch 'origin/7.0.0' into 7.0.0-pubcontent

This commit is contained in:
Stephan
2013-10-02 11:49:23 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -126,7 +126,7 @@ namespace Umbraco.Core.ObjectResolution
/// <remarks>To be used in unit tests.</remarks>
internal static void Reset()
{
LogHelper.Debug(typeof(DirtyBackdoor), "Resetting resolution");
LogHelper.Debug(typeof(Resolution), "Resetting resolution");
using (new WriteLock(ConfigurationLock))
{

View File

@@ -57,7 +57,7 @@ namespace umbraco.BusinessLogic.Actions
using (Umbraco.Core.ObjectResolution.Resolution.DirtyBackdoorToConfiguration)
{
//TODO: Based on the above, this is a big hack as types should all be cleared on package install!
ActionsResolver.Reset();
ActionsResolver.Reset(false); // and do NOT reset the whole resolution!
ActionHandlers.Clear();
//TODO: Based on the above, this is a big hack as types should all be cleared on package install!