U4-11124 - Disable deleting the default language

Created by Shannon Deminick 19 Mar 2018, 11:13:21 Updated by Sebastiaan Janssen 15 Apr 2018, 19:56:46

Subtask of: U4-11104

At the service/repo level we should prevent this operation. At the controller level we should prevent this operation and return a validation message. At the angular level we should prevent this operation.

NOTE: For the service/repo level, this task needs to be completed first since the code in this PR is required first http://issues.umbraco.org/issue/U4-11122


Warren Buckley 27 Mar 2018, 15:42:17

PR for this is here - https://github.com/umbraco/Umbraco-CMS/pull/2546 Please, sanity check the code. In regards to testing as the UI is not in V8 I am not sure how this can be tested/checked.

Or would I need to have some form of unit/integration test to verify this?

Shannon Deminick 29 Mar 2018, 12:20:13

code looks fine, i'm now integrating the angular bits with the controller bits, unfortunately there's no task for that so will make one

Shannon Deminick 29 Mar 2018, 12:41:00

I guess i still need to do the repo/service level changes

Shannon Deminick 29 Mar 2018, 14:22:12

I have updated the remaining parts of this in http://issues.umbraco.org/issue/U4-11165

Priority: Normal

Type: Task

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 8.0.0

Sprint: Sprint 81

Story Points: 1

Cycle: 9