Administration - Hosted Journal: Can not remove Hosted Journal #10909
Labels
Bug:3:Critical
A bug that prevents a substantial minority of users from using the software.
Milestone
Describe the bug
When trying to remove a hosted journal there is an error.
Prerequisites : admin access to hosted journal area for contexts with multiple journals already created. If starting from default dataset you will need to create a new journal first.
To Reproduce
Steps to reproduce the behavior:
Expected : Journal should be removed from the list without error and journal is no longer accessible.
Actual: Error is seen in the console and journal is not removed from the list. It is no longer accessible so some things must be deleted on the database side.
What application are you using?
OJS 3.5
Additional information
Error logs from apache : [Fri Feb 07 12:43:19.025667 2025] [php:error] [pid 27000:tid 1872] [client ::1:52092] PHP Fatal error: Uncaught Error: Class "PKP\navigationMenu\DB" not found in C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\navigationMenu\NavigationMenuDAO.php:167\nStack trace:\n#0 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\navigationMenu\NavigationMenuDAO.php(158): PKP\navigationMenu\NavigationMenuDAO->deleteById(14)\n#1 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\navigationMenu\NavigationMenuDAO.php(179): PKP\navigationMenu\NavigationMenuDAO->deleteObject(Object(PKP\navigationMenu\NavigationMenu))\n#2 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\services\PKPContextService.php(677): PKP\navigationMenu\NavigationMenuDAO->deleteByContextId(7)\n#3 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\controllers\grid\admin\context\ContextGridHandler.php(291): PKP\services\PKPContextService->delete(Object(APP\journal\Journal))\n#4 [internal function]: PKP\controllers\grid\admin\context\ContextGridHandler->deleteContext(Array, Object(APP\core\Request))\n#5 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\core\PKPRouter.php(327): call_user_func(Array, Array, Object(APP\core\Request))\n#6 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\core\PKPComponentRouter.php(265): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(APP\core\Request), Array)\n#7 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\core\Dispatcher.php(157): PKP\core\PKPComponentRouter->route(Object(APP\core\Request))\n#8 C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\core\PKPApplication.php(416): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))\n#9 C:\xampp\htdocs\ojs-main\ojs\index.php(30): PKP\core\PKPApplication->execute()\n#10 {main}\n thrown in C:\xampp\htdocs\ojs-main\ojs\lib\pkp\classes\navigationMenu\NavigationMenuDAO.php on line 167, referer: http://localhost/ojs-main/ojs/index.php/index/en/admin/contexts
The text was updated successfully, but these errors were encountered: