Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.6.1
-
None
-
None
Description
I want to register a new child definition under an existing nodetype.
This nodetype has yet a child definition with the same name but different requiredPrimaryTypeName.
The NodeTypeDefDiff identify this modification as MAJOR.
This happens because the code of buildChildNodeDefDiffs method use a QNodeDefinitionId constructor that only uses the declaringNodeType and name (that obviously are the same for the two child definitions).
So, when the algorithm test the difference between the old child definitions and the new child definitions finds that the existing child definition is modified (currently the requiredPrimaryNodeType).