U4-7579 - 7.4 Beta - Document Type Alias is camelCase

Created by John Churchley 18 Dec 2015, 11:20:08 Updated by Shannon Deminick 12 Feb 2016, 16:43:24

Your report will have a greater chance of being addressed if you can give us clear steps to reproduce the issue, please answer the following questions in as much detail as possible: What did you do? Created a new document type and filed out name

What did you expect to happen? Expected the Document Type Alias created follow convention detailed here https://our.umbraco.org/wiki/reference/umbraco-best-practices/

What actually happened? Document Type Alias created was lowercase;

1 Attachments


John Churchley 18 Dec 2015, 11:22:46

In case anyone stumbles across this looking to rectify issue. You need to click on the padlock to edit alias.

Shannon Deminick 21 Dec 2015, 14:14:36

The documentation on the wiki for Document Type Alias conventions is super old and non-official. We've streamlined alias naming conventions, aliases should simply be camelCase. I'll leave this issue here and mark as a breaking change.

We really need to port more of these wiki docs to the real documentation and remove the old stuff.

John Churchley 22 Dec 2015, 15:36:28

Thanks for the reply Shannon, I'll bare this going forward.



Janae Cram 11 Feb 2016, 22:18:39

@Shandem I was about to report an issue with this as well regarding templates, but I thought perhaps it would be better to respond on this thread instead. Is the intent for the template aliases to be camelCased or not? 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. My personal preference is that my C#/Razor files have PascalCase names, but I want your thoughts on the convention :)

Shannon Deminick 12 Feb 2016, 09:14:14

@naepalm I think template names make sense to be PascalCase since that is a bit more standard for file names. If you can file a bug for that, that would be great.

Janae Cram 12 Feb 2016, 16:07:18

@Shandem No problem. Doing now; thank you!

Shannon Deminick 12 Feb 2016, 16:43:24

Great, please tag me in it or assign it to me so we can assign the task

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal

Category: Editor

Backwards Compatible: False

Fix Submitted:

Affected versions: 7.4.0

Due in version: 7.4.0

Sprint: Sprint 6

Story Points: