missing_method_on_sitecore_updatehelper_distorted

UpdateHelper SaveInstallationMessages() removed in Sitecore 7.5

Sometimes we use the Sitecore class called UpdateHelper to install packages on different Sitecore instances for example via a webservice. Today I copied some code from a Sitecore 7.2 installation which did exactly this. It is a simple service class that installs a package from a path and then it logs the installation results as done by the Sitecore InstallUpdatePackage wizard. public static string InstallUpdatePackage(String packageFile) { var log = LogManager.GetLogger("LogFileAppender"); string result; using (new ShutdownGuard()) { var packageInstallationInfo = new PackageInstallationInfo { Action = UpgradeAction.Upgrade, Mode = InstallMode.Install, Path = packageFile }; string text = null; List<ContingencyEntry> entries = null; try { entries = UpdateHelper.Install(packageInstallationInfo, log, out text); } catch (PostStepInstallerException ex) { entries = ex.Entries; text = ex.HistoryPath; throw; } finally { try { UpdateHelper.SaveInstallationMessages(entries, text); } catch (Exception ex) { log.Warn("Unable to write the installation messages", ex); } } result = text; } return result; } But the code would not compile when using the Sitecore.Update.dll from 7.5 ...

October 28, 2014 · 2 min · alc

A Sitecore update bummer

When update 6.6 rev 130111 was released I upgraded a customer solution from the previous 6.6 release thinking that this was only a minor update which would solve some of the other issues the previous revision have had. I was terrible wrong and the upgrade led me into a ton of trouble. The first issue in the new revision was an added processor in the renderField pipeline. <renderField> ... <processor type="Sitecore.Pipelines.RenderField.GetTextFieldValue, Sitecore.Kernel" /> ... </renderField> This processor ensures that all text fields and multi line text fields is output escaped when rendered through the renderField pipeline. ...

October 13, 2013 · 3 min · alc