Closed middlebrain closed 6 years ago
indeed. https://github.com/phpcr/phpcr-shell/blob/master/src/PHPCR/Shell/Console/Helper/NodeHelper.php#L35 should instead say if ($mixinType->isNodeType($mixinTypeName)) {
to have phpcr handle the type inheritance checking. do you want to send a pull request for this?
fixed in #191
The check if a node is versionable is too strict (function
assertNodeIsVersionable
in file/src/PHPCR/Shell/Console/Helper/NodeHelper.php
).A node type without
mix:versionable
can be derived from a node type with 'mix:versionable'. E.g.The current versionable check throws an exception (
Node "%s" is not versionable
) for nodes of typefoo:baz
.