U4-7133 - Rename stylesheet format: The property with the name Heading 4 already exists in the collection

Created by Rasmus Eeg Møller 23 Sep 2015, 11:52:50 Updated by Markus Johansson 11 Aug 2016, 09:33:57

What did you do? Created a Stylesheet format, "HEading 4" Misspelled "HEading 4", rename it to "Heading 4"

What did you expect to happen? That it would rename to "Heading 4"

What actually happened?

The property with the name User input already exists in the collection
[DuplicateNameException: The property with the name User input already exists in the collection]
   Umbraco.Core.Models.Stylesheet.AddProperty(StylesheetProperty property) +259
   umbraco.cms.presentation.settings.stylesheet.EditStyleSheetProperty.SaveClick(Object sender, EventArgs e) +257
   System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +116
   System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +106
   System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9721782
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639

Comments

James South 26 Feb 2016, 00:37:22

Still affecting v7.4.1


Priority: Normal

Type: Bug

State: Submitted

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.3.0, 7.4.3

Due in version:

Sprint:

Story Points:

Cycle: