DoctrineBehaviors icon indicating copy to clipboard operation
DoctrineBehaviors copied to clipboard

Can't use setChildNodeOf

Open celsoandrade opened this issue 1 year ago • 0 comments

This line is returning null for ID.

If I replace it for $id = $treeNode->getId(); it works

https://github.com/KnpLabs/DoctrineBehaviors/blob/aa7c160caec5716d4b9e065e4ed4a90a1cef9c50/src/Model/Tree/TreeNodeMethodsTrait.php#L118

celsoandrade avatar Jul 26 '23 18:07 celsoandrade