Lets have the following content types:
- TypeA
- attributeX (label = x)
- viewX
- attribute-ref -> attributeX
- viewY
- attribute-ref -> attributeX
- viewZ
- attribute-ref -> attributeX
- TypeB extends TypeA
- attributeX (label = xx)
- viewX
- attribute-ref -> attributeX
- viewY
In views using the super type (Y and Z) reference the wrong model item instance :
- TypeA.getModelItem("attributeX").getLabel() => x (OK)
- TypeA.getView("viewX").getModelViewItem("attributeX").getLabel() => x (OK)
- TypeA.getView("viewY").getModelViewItem("attributeX").getLabel() => x (OK)
- TypeA.getView("viewZ").getModelViewItem("attributeX").getLabel() => x (OK)
- TypeB.getModelItem("attributeX").getLabel() => xx (OK)
- TypeB.getView("viewX").getModelViewItem("attributeX").getLabel() => xx (OK)
- TypeB.getView("viewY").getModelViewItem("attributeX").getLabel() => x (KO)
- TypeB.getView("viewZ").getModelViewItem("attributeX").getLabel() => x (KO)
Lets have the following content types:
In views using the super type (Y and Z) reference the wrong model item instance :