U4-8310 - Can't change casing of doc type alias

Created by Bjarne Fyrstenborg 11 Apr 2016, 09:04:37 Updated by Sebastiaan Janssen 31 Aug 2018, 17:59:30

Tags: PR

Is duplicated by: U4-8341

Relates to: U4-9037

It seems I can't just rename of document type alias by changing its casing, e.g.

master -> Master sEO -> Seo

this give an error that an document type, media type or member type with this alias already exists. I think it maybe should check if it not is itself that is being renamed.

instead of have to rename it first and then rename it again, e.g. master -> master1 -> Master sEO -> Seo1 -> Seo

2 Attachments


Dan Booth 01 Jul 2016, 08:16:10

I've noticed this on Member Type alias

I created a member type alias of jobBoardMember

I realised I wanted it to be pascal case (to be compatible with some legacy code) so tried to rename it to JobBoardMember. However, I got the message: "A content type, media type or member type with this alias already exists"

I think the check for whether it exists should be case sensitive.

Bjarne Fyrstenborg 01 Jul 2016, 08:17:56

@DanDiplo okay, then it might also be an issue for Media Types as well?

Amalie 14 Sep 2016, 06:24:05

This also happens on version 7.5.3 I can work a round by changing the name to something i know not exist an change it back to the name i want with the correct casing

Amalie 14 Sep 2016, 06:25:31


Marc Goodson 21 Jan 2017, 13:43:27

Just fell foul of this in a demo, and was just in the middle of creating a new issue and the issue tracker suggested this one instead!

Andy Butland 23 Jun 2017, 09:06:34

PR for this here: https://github.com/umbraco/Umbraco-CMS/pull/2017

Ali Sheikh Taheri 29 Aug 2018, 13:45:12

@sebastiaan created a new PR for it. https://github.com/umbraco/Umbraco-CMS/pull/2884 Thanks to @abutland & @mvanhelmont

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.4.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.5.7, 7.5.8, 7.5.9, 7.5.10, 7.5.11, 7.5.12, 7.5.13, 7.6.1, 7.5.14, 7.6.2, 7.6.3, 7.12.0, 7.11.1, 7.12.1

Due in version: 7.12.2


Story Points: