U4-8129 - Current dev-v7 branch: true/false properties don't save properly

Created by Sebastiaan Janssen 08 Mar 2016, 08:42:32 Updated by Shannon Deminick 10 Mar 2016, 09:02:38

Add 2 true/false properties to a document type and save them in various combinations.

Observe that in umbraco.config they don't update in the same way,sometimes it works, various combinations end up in umbraco.config completely wrong.

1 Attachments


Niels Lynggaard 08 Mar 2016, 10:59:42

Could this be related to using SQLCE? It simply isn't updated both in the DB and in the xml. To reproduce this, just install the latest build via nuget on a new blank web application, install Umbraco (Using SQLCE, no starter kit), launch backend, create a document type with a True/false property, create a node and try to do a save&publish.. Check the value in DB and in XML and in the backend by switching to another section and back again..

I have a solution I can attach, but its really just reflects what I've done as the above description.

Niels Lynggaard 08 Mar 2016, 11:03:58

Screendump of db not updated

Niels Lynggaard 08 Mar 2016, 11:07:58

Uploaded my solution to https://www.dropbox.com/s/o10o535f41t9oao/TestTrueFalse.zip?dl=0

Sebastiaan Janssen 08 Mar 2016, 15:02:16

Thanks @nielslynggaard - found the problem, there's a null check missing in the booleanEditorController, @Shandem is fixing right now.

Commit: https://github.com/umbraco/Umbraco-CMS/commit/2a2f22c7d90e07015e6724c60591d9e12e00c49f

Shannon Deminick 08 Mar 2016, 15:30:41

This will be fixed when the PR for http://issues.umbraco.org/issue/U4-4700 is pulled in

Jeremy Pyne 09 Mar 2016, 20:04:33

Possibly related to http://issues.umbraco.org/issue/U4-7670 ?

Priority: Major

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.2

Due in version: 7.4.2

Sprint: Sprint 10

Story Points: