Hi M. Dam,
I had a bug: if you do something stupid like move a folder on itself or move a parent folder under one of these child folders.
validation generates the joomla error: 0 - Joomla\CMS\Table::moveByReference() is trying to make record ID *** a child of itself.
Code:
Joomla\CMS\Table\Asset::moveByReference() is trying to make record ID 428 a child of itself.
Call stack
# Function Location
1 () JROOT/administrator/components/com_edocman/libraries/rad/model/admin.php:217
2 OSModelAdmin->save() JROOT/components/com_edocman/model/editcategory.php:125
3 EDocmanModelEditCategory->saveCategory() JROOT/components/com_edocman/controller/controller.php:170
4 EDocmanController->savecategory() JROOT/administrator/components/com_edocman/libraries/rad/controller/controller.php:301
5 OSController->execute() JROOT/components/com_edocman/edocman.php:29
6 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
7 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
8 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
9 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
10 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
11 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
Consequence: this folder is no longer visible in edocman (as well as all the files)
Could you handle this anomaly to correctly generate an error message in edocman? example: impossible to move
Thank you for your interest