Bug #23636 Clarification Requested

Accidentally assigned a parent category to itself

Version: 4.3.1 Reporter: Dot Voice

Started in 4.3.0, manually updated to 4.3.1, issue not resolved

Exception Caught
Cannot add tree node to itself.
ee/legacy/libraries/datastructures/Tree.php:243

Stack Trace: Please include when reporting this error
#0 ee/legacy/libraries/datastructures/Tree.php(122): EE_TreeNode->add(Object(EE_TreeNode))
#1 ee/legacy/libraries/datastructures/Tree.php(54): EE_Tree->_build_tree(Object(EllisLab\ExpressionEngine\Service\Model\Collection), Array)
#2 ee/EllisLab/ExpressionEngine/Model/Category/CategoryGroup.php(121): EE_Tree->from_list(Object(EllisLab\ExpressionEngine\Service\Model\Collection), Array)
#3 ee/EllisLab/ExpressionEngine/Controller/Categories/Categories.php(77): EllisLab\ExpressionEngine\Model\Category\CategoryGroup->getCategoryTree(Object(EE_Tree))
#4 [internal function]: EllisLab\ExpressionEngine\Controller\Categories\Categories->group('1')
#5 ee/EllisLab/ExpressionEngine/Core/Core.php(240): call_user_func_array(Array, Array)
#6 ee/EllisLab/ExpressionEngine/Core/Core.php(109): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#7 ee/EllisLab/ExpressionEngine/Boot/boot.php(146): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#8 admin.php(147): require_once('...')
#8 admin.php(147): require_once('...')
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases