You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When moving a node using one of the four moveToXXXOf() method, the parent reference of the node is not updated and reseted then when using retrieveParent() or getPath() returns bad informations.
A solution is too add a resetParentRefence() method and call it at the ends of the 4 "move" methods :
public function resetParentRefence() {
$this->hasParentNode = null;
$this->parentNode = null;
}
The text was updated successfully, but these errors were encountered:
When moving a node using one of the four moveToXXXOf() method, the parent reference of the node is not updated and reseted then when using retrieveParent() or getPath() returns bad informations.
A solution is too add a resetParentRefence() method and call it at the ends of the 4 "move" methods :
public function resetParentRefence() {
$this->hasParentNode = null;
$this->parentNode = null;
}
The text was updated successfully, but these errors were encountered: