Order of inherited DocType property groups not honored
In Umbraco 8.6, I have a DocType structure like this
Level1DocType -> Level2DocType-> Level3DocType
so Level1DocType inherits from Level2DocType, which in turn inherits from Level3DocType.
Each DocType adds one group of properties. In content items of type Level3DocType, I want the groups to show up in this order:
Intended Group Order:
Level3DocTypeGroup
Level2DocTypeGroup
Level1DocTypeGroup
So in the DocType editor for Level2DocType, I have reordered the groups so Level2DocTypeGroup is first, followed by Level1DocTypeGroup inherited from Level1DocType:
Expected order of inherited groups:
Level2DocTypeGroup
Level1DocTypeGroup
but in the DocType editor for Level3DocType, the inherited groups show up in the order of inheritance and not in the order specified in Level2DocType:
Actual order of inherited groups:
Level1DocTypeGroup
Level2DocTypeGroup
so there is something not working right here.
For Level3DocType, I now have this group order:
Level3DocTypeGroup
Level1DocTypeGroup (inherited)
Level2DocTypeGroup (inherited)
Now if I create a content item of type Level3DocType, the content item has the following order of property groups:
Actual group order of content item:
Level1DocTypeGroup
Level2DocTypeGroup
Level3DocTypeGroup
Expected group order of content item:
Level3DocTypeGroup
Level2DocTypeGroup
Level1DocTypeGroup
So it seems that when inheritance of DocTypes is in play, the group order as defined in the DocType is not honored.
Am I doing something wrong, or is this an issue which I should add in the issue tracker?
Order of inherited DocType property groups not honored
In Umbraco 8.6, I have a DocType structure like this
Level1DocType -> Level2DocType-> Level3DocType
so
Level1DocType
inherits fromLevel2DocType
, which in turn inherits fromLevel3DocType
.Each DocType adds one group of properties. In content items of type Level3DocType, I want the groups to show up in this order:
Intended Group Order:
So in the DocType editor for
Level2DocType
, I have reordered the groups soLevel2DocTypeGroup
is first, followed byLevel1DocTypeGroup
inherited fromLevel1DocType
:Expected order of inherited groups:
but in the DocType editor for
Level3DocType
, the inherited groups show up in the order of inheritance and not in the order specified inLevel2DocType
:Actual order of inherited groups:
so there is something not working right here.
For
Level3DocType
, I now have this group order:Now if I create a content item of type
Level3DocType
, the content item has the following order of property groups:Actual group order of content item:
Expected group order of content item:
So it seems that when inheritance of DocTypes is in play, the group order as defined in the DocType is not honored.
Am I doing something wrong, or is this an issue which I should add in the issue tracker?
Thank you for any input on this!
If you go into the sorting on each doctype and manually enter a sort number (don't try to drag the groups - enter the number).
I tend to space in 10s (so doctype 3 = 0, doc type 2 = 10, doc type 1 = 20) then does that resolve it?
Hello Steve,
thank you, this does the trick!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.