U4-9377 - It is possible to create/save entities with a blank names by using the services directly

Created by Claus Jensen 13 Jan 2017, 07:43:34 Updated by Sebastiaan Janssen 16 Jan 2017, 10:01:20

Tags: Backport Unscheduled

It should not be possible to create entities with a blank / string.Empty as name, using the services. This is currently only validated when using the backoffice UI (may be validated at controller level by [Required] attribute?)


Claus Jensen 13 Jan 2017, 10:46:22

pr: https://github.com/umbraco/Umbraco-CMS/pull/1684

Shannon Deminick 16 Jan 2017, 06:40:30

wonderful, and i love that the tests are included :)

Claus Jensen 16 Jan 2017, 08:04:50

Backporting this one to dev-v7. Didn't do it on dev-v7.6 on purpose .. must have branched from the wrong branch there.

Shannon Deminick 16 Jan 2017, 08:29:52

dev-v7 is fine and makes sense, if we need to release a 7.5.8 then it will be in there which is why i tagged it as "backport" (just so we update the due in version properly)

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.5.7

Due in version: 7.5.8

Sprint: Sprint 50

Story Points: