U4-7953 - Creating Templates via new DocType have camelCased aliases, but from the Template section have PascalCase aliases

Created by Janae Cram 12 Feb 2016, 16:10:00 Updated by Sebastiaan Janssen 31 Jul 2018, 19:51:13

Relates to: U4-11059

Relates to: U4-7671

When I create a new DocType with a template, the template's alias is set to camelCase, such as homePage (which also names the corresponding cshtml file to homePage.cshtml). However, if I create it from the template section instead, the alias is PascalCase, such as HomePage, so it's not consistent.

As per the discussion with Shannon here, sounds like they should be PascalCase: http://issues.umbraco.org/issue/U4-7579


Shannon Deminick 16 Feb 2016, 13:21:40

PR for review: https://github.com/umbraco/Umbraco-CMS/pull/1127


  • Create a new doc type with (with a template), call it something like "Hello world"
  • Go to the template created
  • See that it's alias is "HelloWorld" and the file created is "HelloWorld.cshtml" and not camelCase

Sebastiaan Janssen 16 Feb 2016, 14:40:09

Looks good, and it's properly renamed if you use spaces etc.

Rasmus Eeg Møller 18 Feb 2016, 13:21:46

U4-7671 these are linked

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.0

Due in version: 7.4.1

Sprint: Sprint 9

Story Points: