Clone Tools
  • last updated a few minutes ago
Constraints: committers
Constraints: files
Constraints: dates
MODE-1406 Corrected validation of shareable node creation

When a shareable node is created, the validation logic assures that the new shared node will

have the correct node type. If the parent node type's associated child node definition

is restrictive of the allowed child node type, this validation logic may fail because it

was incorrectly resolving the shared node (e.g., the primary type of the child was thought

to be "mode:share", an internal node type used in the shareable nodes feature, rather than

the actual primary type of the shareable node.

The fix was simply using "originalNode()" rather than "proxyNode()" to obtain the original

shared node.

A new test case replicates the problem and error, and after the fix runs successfull.

    • -0
    • +43
  1. … 2 more files in changeset.