U4-9249 - MemberTypeRepository returns inconsistent types

Created by Stephan 06 Dec 2016, 14:27:52 Updated by Sebastiaan Janssen 20 Feb 2017, 13:47:18

Subtask of: deploy-118

MemberTypeReadOnlyFactory adds missing "standard" properties to member types it creates - but these properties are not persisted and are incomplete eg have no key, no id, no dataTypeDefinitionId.

When Deploy tries to serialize such a member type if fails because the property is not a "real" property.


Stephan 06 Dec 2016, 14:49:02

PR https://github.com/umbraco/Umbraco-CMS/pull/1643

will make sure that missing standard properties are saved

test: install fresh Umbraco, get all member types, ensure that all member types properties have an identity

Emil Wangaa 07 Dec 2016, 09:53:16

The code looks fine - I've nothing to note there. Moving on to testing this now.

Emil Wangaa 07 Dec 2016, 11:06:46

First tested this on an old build to verify that not all member types properties had an identity - had two properties that had the issue. Then tested with this build and I all properties now had an identity. So this works as expected.

Priority: Normal

Type: Task

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.6.0

Sprint: Sprint 48

Story Points: