U4-7029 - Upgrading Umbraco will remove owin:startup key if configured differently

Created by Ryan Lewis 27 Aug 2015, 12:04:31 Updated by Sebastiaan Janssen 15 Sep 2015, 08:17:57

Umbraco 7.3 b3 installed via Nuget, with all the new OWIN configuration. Had the following appSetting

<add key="owin:appStartup" value="UmbracoDefaultOwinStartup" />

All working fine. I created an implementation of the UmbracoDefaultOwinStartup class so I could add some additional configuration to the OWIN startup (in this case, I was bootstrapping Hangfire). I changed the key to the following:

<add key="owin:appStartup" value="MySite.Web.MyOwinStartup" />

Again, this was all working fine. I then upgraded to Umbraco 7.3 RC. This removed my key (second example) and re-added the UmbracoDefaultOwinStartup key (first example).

I believe the upgrade transforms should only add the owin:appStartup key if it does not exist in the configuration.

Comments

Sebastiaan Janssen 15 Sep 2015, 08:17:40

Commit made by '''Sebastiaan Janssen''' on ''2015-09-15T10:17:31+02:00'' https://github.com/umbraco/Umbraco-CMS/commit/4572b55f98fa3bd2b75cab106e01dbe73f03d1ef

U4-7029 Upgrading Umbraco will remove owin:startup key if configured differently

#U4-7029 Fixed


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.0

Due in version: 7.3.0

Sprint:

Story Points:

Cycle: