From 45f6d4f9112cd39d7ef9336a1a06bba94bf14ad1 Mon Sep 17 00:00:00 2001 From: perploug Date: Fri, 7 Mar 2014 11:57:21 +0100 Subject: [PATCH 1/6] ensures the installer clears angular cache --- .../src/installer/installer.controller.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js b/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js index 30bf96a329..04d21f80b2 100644 --- a/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js +++ b/src/Umbraco.Web.UI.Client/src/installer/installer.controller.js @@ -30,3 +30,8 @@ angular.module("umbraco.install").controller("Umbraco.InstallerController", installerService.gotoStep(0); }; }); + +//this ensure that we start with a clean slate on every install and upgrade +angular.module("umbraco.install").run(function($templateCache){ + $templateCache.removeAll(); +}); \ No newline at end of file From b816e7f4db43fcf9b28e574f283768ff19f48c8e Mon Sep 17 00:00:00 2001 From: perploug Date: Fri, 7 Mar 2014 12:09:30 +0100 Subject: [PATCH 2/6] Fixes: sites cannot run the new installer if they have /install directory --- src/Umbraco.Web.UI/config/ClientDependency.config | 2 +- src/Umbraco.Web/Install/InstallHelper.cs | 9 ++++++++- src/Umbraco.Web/WebBootManager.cs | 3 +++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI/config/ClientDependency.config b/src/Umbraco.Web.UI/config/ClientDependency.config index e09251e424..d26bfe176a 100644 --- a/src/Umbraco.Web.UI/config/ClientDependency.config +++ b/src/Umbraco.Web.UI/config/ClientDependency.config @@ -10,7 +10,7 @@ NOTES: * Compression/Combination/Minification is not enabled unless debug="false" is specified on the 'compiliation' element in the web.config * A new version will invalidate both client and server cache and create new persisted files --> - +