We have moved to GitHub Issues
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;
In case anyone stumbles across this looking to rectify issue. You need to click on the padlock to edit alias.
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.
Thanks for the reply Shannon, I'll bare this going forward.
@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 :)
@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.
@Shandem No problem. Doing now; thank you!
Great, please tag me in it or assign it to me so we can assign the task
Backwards Compatible: False
Affected versions: 7.4.0
Due in version: 7.4.0
Sprint: Sprint 6