Closed ahonor closed 12 years ago
ok so, I think this is taken care of then. It updates on created of node when one picks parent/child (hence no relationship name CAN be given) and on update of node when new childnode is created as well but not when existing childnode is updated
If a user does not specify a relationship name for a ChildNode, default to the rolename of the corresponding NodeTypeRelationship.
For example:
1) Given a NodeTypeRelationship named packages defined like so:
2) Given two instances of the types specified above:
3) Creating a ChildNode between the two above objects without specifying a relationship name, it should default to the role name (i.e,
packages
).