U4-7164 - Nuget Update-Package UmbracoCms fails if I have removed dashboard section

Created by Murray Roke 01 Oct 2015, 00:28:50 Updated by Sebastiaan Janssen 01 Oct 2015, 06:52:47

My previous version of umbraco was 7.2.4 I had removed the StartupDashboardSection dashboard section I upgraded to 7.3 via nuget Update-Package UmbracoCms

I get this error:

Removed package 'ClientDependency 1.8.4' from folder 'C:\Dev\REDACTED\packages'
Update-Package : An error occurred while applying transformation to 'config\Dashboard.config' in project 'www.redacted.com' No element in the source 
document matches '/dashBoard/section[@alias='StartupDashboardSection']/tab'At line:1 char:1
+ Update-Package UmbracoCms
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
 
One or more packages could not be completely uninstalled: 'C:\Dev\REDACTED\packages\Microsoft.Bcl.Build.1.0.14'. Restart Visual Studio to finish uninstall.

I worked around this be reverting everything, adding the expected section and trying again, but preferably this should fail where the dashboard has had some sections removed.

Comments

Sebastiaan Janssen 01 Oct 2015, 06:52:47

Commit made by '''Sebastiaan Janssen''' on ''2015-10-01T08:52:40+02:00'' https://github.com/umbraco/Umbraco-CMS/commit/5fab1ea4362ed92f9260e2c727e8adc9f4660eff

U4-7164 Nuget Update-Package UmbracoCms fails if I have removed dashboard section

#U4-7164 Fixed Due in version 7.3.1


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.3.1

Sprint:

Story Points:

Cycle: