October Build 230 When moving menu item (as sub), throws an error "A node cannot be moved to a descendant of itself." on line 923 of ~vendor\october\rain\src\Database\Traits\NestedTree.php how can i fix it???
Not sure yet, it appears that the way to use the NestedSet trait has changed. Will push a fix asap, as this will break every install :(
Very frustrating
vendor\october\rain\src\Database\Traits\NestedTree.php
Line 817: // if (!$this->validateMove($this, $target, $position))
Line 818: // return $this;
i set these lines commented and then suddenly worked :)
Last updated
In the model add event beforeCreate():
public function beforeCreate() { $this->setDefaultLeftAndRight(); }
Last updated
DarkDarin said:
In the model add event beforeCreate():
public function beforeCreate() { $this->setDefaultLeftAndRight(); }
Thank you, you are a hero! :)
The same here! Is there a way to workaround this issue? Neither of methods described above work (last two builds of cms). Thank you!
Last updated
1-8 of 8