Skip to content

Commit

Permalink
Fixed issues with not correctly writing .json file in older versions …
Browse files Browse the repository at this point in the history
…of Sitecore
  • Loading branch information
cturano committed Jan 9, 2017
1 parent b076260 commit 49732be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@
<HintPath>..\packages\SitecoreKernel.7.0.0.131127\lib\Lucene.Net.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.6.0.5\lib\net45\Newtonsoft.Json.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
<Reference Include="Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.4.5.9\lib\net40\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Sitecore.Kernel, Version=7.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\SitecoreKernel.7.0.0.131127\lib\Sitecore.Kernel.dll</HintPath>
Expand Down
6 changes: 5 additions & 1 deletion SitecorePackageDeployer/Tasks/InstallPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ private void InstallPackages()
{
Log.Info("Install packages aborting due to shutdown", this);

if (GetInstallerState() != InstallerState.WaitingForPostSteps)
{
SetInstallerState(InstallerState.Ready);
}

break;
}

Expand All @@ -135,7 +140,6 @@ private void InstallPackages()
{
Log.Info(String.Format("Begin Installation: {0}", updatePackageFilenameStripped), this);


string installationHistoryRoot = null;
List<ContingencyEntry> logMessages = new List<ContingencyEntry>();

Expand Down
2 changes: 1 addition & 1 deletion SitecorePackageDeployer/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="6.0.5" targetFramework="net45" />
<package id="Newtonsoft.Json" version="4.5.9" targetFramework="net45" />
<package id="SitecoreKernel" version="7.0.0.131127" targetFramework="net45" />
</packages>

0 comments on commit 49732be

Please sign in to comment.