From ff39e069dbaf4f276cd53f711bc1128010f59cc7 Mon Sep 17 00:00:00 2001 From: PerPloug Date: Tue, 11 Jan 2011 11:32:56 -0100 Subject: [PATCH] Reproduced #29779, Calling RefreshContent() after database upgrade fixes empty paths work items: 29779 --- umbraco/presentation/install/utills/p.aspx.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/umbraco/presentation/install/utills/p.aspx.cs b/umbraco/presentation/install/utills/p.aspx.cs index d778ff90d0..12a9dd3292 100644 --- a/umbraco/presentation/install/utills/p.aspx.cs +++ b/umbraco/presentation/install/utills/p.aspx.cs @@ -79,8 +79,14 @@ namespace umbraco.presentation.install.utills if (m_Installer.CanConnect) { - if (m_Installer.IsLatestVersion) + if (m_Installer.IsLatestVersion){ + + Helper.setProgress(90, "Refreshing content cache", ""); + + library.RefreshContent(); + Helper.setProgress( 100, "Database is up-to-date", ""); + } else { if (m_Installer.IsEmpty) @@ -93,6 +99,7 @@ namespace umbraco.presentation.install.utills m_Installer = null; + library.RefreshContent(); return "installed"; } else if (m_Installer.CurrentVersion == DatabaseVersion.None || m_Installer.CanUpgrade) @@ -104,6 +111,7 @@ namespace umbraco.presentation.install.utills m_Installer = null; + library.RefreshContent(); return "upgraded"; } }