doctrine2-nestedset icon indicating copy to clipboard operation
doctrine2-nestedset copied to clipboard

Bad handling of unmanaged nodes in wrapper

Open dmitrybelyakov opened this issue 13 years ago • 0 comments

If we create a node entity and wrap it in wrapper to then retrieve it's parent we get an error:

Undefined offset: 0 /DoctrineExtensions/NestedSet/NodeWrapper.php:253

We probably could just return null if node cannot be discovered.

dmitrybelyakov avatar Jun 14 '11 15:06 dmitrybelyakov