U4-6770 - When creating editorstyles: No stylesheet property found with name when creating headingstyles with capitals

Created by Rik Helsen 29 Jun 2015, 13:31:53 Updated by Shannon Deminick 23 Jul 2015, 11:18:58

I was trying to create some editorstyles, but got this nasty error

steps:

  • install a clean 7.3

  • create a stylesheet

  • right-click it and select create

  • enter a name for your style with caps (H1, H2 or H3)

  • error happens

  • The error does not happen if you try and create another classname, like "bigTitle" (anything else than hx)

  • site is local dev site storing data on AzureSQL db

  • when i look at the stylesheet itself after getting the error, some strange css has been saved (see third screenshot)

I get this error: Server Error in '/' Application.

No stylesheet property found with name: h2 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: No stylesheet property found with name: h2 Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidOperationException: No stylesheet property found with name: h2] umbraco.cms.presentation.settings.stylesheet.EditStyleSheetProperty.OnLoad(EventArgs e) +848 System.Web.UI.Control.LoadRecursive() +71 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178

3 Attachments

Comments

Rik Helsen 29 Jun 2015, 13:43:19

issue only occurs if you enter your heading tags with CAPS (H1 H2 H3 instead of h1 h2 ...)


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: