U4-3786 - Multi-level document types fail

Created by Per Ploug 04 Dec 2013, 10:52:22 Updated by Shannon Deminick 05 Dec 2013, 07:35:26

Relates to: U4-3748

Relates to: U4-3795

Due to issue in TabsAndPropertiesResolver.cs you cant have multi-levels document types

so:

  • root
    • base type
      • child type

wont work, if both base type and child type have properties that uses a tab from root.

It's caused by line 165, by this line: var current = propertyGroups.Single(x => x.ParentId == currentParentId);

Which will fail with multiple levels of tabs, since it will return 2 tabs, since the 2 types that inherit the tab, will set the same parent ID on the tab, which is the id of root - so the .single() method will throw an exception.

Comments

Priority: Major

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.1

Sprint:

Story Points:

Cycle: