U4-4861 - 6.2.0 Nuget package copies wrong files

Created by Tor-Erik Klausen 12 May 2014, 12:57:46 Updated by Sebastiaan Janssen 19 May 2014, 08:09:40

When I tried to upgrade an existing 6.1.6 install to 6.2.0 using NuGet I ended up with all the files from UmbracoFiles/Umbraco in my Umbraco_Client folder. When I looked at the Install.ps1 file i found the following:

$umbracoClientFolder = Join-Path $projectDestinationPath "Umbraco_Client"	
if(Test-Path $umbracoClientFolder) {
	$umbracoClientFolderSource = Join-Path $rootPath "UmbracoFiles\Umbraco_Client"
	Copy-Item $umbracoClientFolder $backupPath -Force
	robocopy $umbracoFolderSource $umbracoClientFolder /e

Notice that the robocopy command uses the umbracoFolderSource and not the correct umbracoClientFolderSource variable


Sebastiaan Janssen 12 May 2014, 15:18:43

Yeah, I noticed, have fixed in 7, will also update 6 to do it right.

Sebastiaan Janssen 19 May 2014, 08:09:32

Fixed in 3ec6d2b82f4718f1f069191ea07727a174bce3bc

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 6.2.1


Story Points: