Kategorie "Client" ERROR 500 nach Update von i-doit 34 auf 35
-
Hallo zusammen,
uns is gestern aufgefallen das seit dem Update 35 die Kategorie Client kaputt ist. Das aufufen eines Geräts führt zu Error 500, genauere Fehlermeldung hängt unten an. Wenn ich ein neuen Client erstelle, dann kann ich das tun, wenn ich dann aber oben auf den Titel des Clients klicke, dann ist die Seite weiß und es finden sich wieder error im PHP-FPM log. Rufe ich das neu erstellte Gerät auf, dann gib es auch wieder error 500.
Ich habe wöchentliche Rollbacks gemacht und geschaut ab wann es wieder funktioniert, die Sicherung vor dem i-doit 35 Update ist fehlerfrei, dort funktioniert die Kategorie korrekt. Das Update wurde am 21.06. eingespielt und heute ist das Problem leider erst aufgefallen.
Der PHP fehler der den ERROR 500 auslöst ist folgender:
[11-Jul-2025 10:38:18 Europe/Berlin] PHP Fatal error: Uncaught TypeError: isys_component_list::getTenantTableConfig(): Return value must be of type ?idoit\Module\Cmdb\Model\Ci\Table\Config, string returned in /var/www/html/i-doit/src/classes/components/isys_component_list.class.php:1313 Stack trace: #0 /var/www/html/i-doit/src/classes/components/isys_component_list.class.php(1326): isys_component_list->getTenantTableConfig() #1 /var/www/html/i-doit/src/classes/components/isys_component_list.class.php(1408): isys_component_list->get_default_table_config() #2 /var/www/html/i-doit/src/classes/modules/cmdb/dao/list/isys_cmdb_dao_list_objects.class.php(696): isys_component_list->load_user_config() #3 /var/www/html/i-doit/src/classes/components/isys_component_dao_object_table_list.class.php(88): isys_cmdb_dao_list_objects->get_table_config() #4 /var/www/html/i-doit/src/classes/components/isys_component_list.class.php(512): isys_component_dao_object_table_list->getConfiguration() #5 /var/www/html/i-doit/src/classes/modules/cmdb/ui/isys_cmdb_ui_category.class.php(1159): isys_component_list->createTempTable() #6 /var/www/html/i-doit/src/classes/modules/cmdb/ui/isys_cmdb_ui_category.class.php(773): isys_cmdb_ui_category->list_view() #7 /var/www/html/i-doit/src/classes/modules/cmdb/ui/global/isys_cmdb_ui_category_g_overview.class.php(231): isys_cmdb_ui_category->process_list() #8 /var/www/html/i-doit/src/classes/modules/cmdb/view/isys_cmdb_view_category.class.php(855): isys_cmdb_ui_category_g_overview->process() #9 /var/www/html/i-doit/src/classes/modules/cmdb/view/isys_cmdb_view_category.class.php(990): isys_cmdb_view_category->processCategoryUi() #10 /var/www/html/i-doit/src/classes/modules/cmdb/view/isys_cmdb_view_category.class.php(651): isys_cmdb_view_category->category_process() #11 /var/www/html/i-doit/src/classes/modules/cmdb/isys_module_cmdb.class.php(845): isys_cmdb_view_category->process() #12 /var/www/html/i-doit/src/classes/modules/manager/isys_module_manager.class.php(1018): isys_module_cmdb->start() #13 /var/www/html/i-doit/src/idoit/Legacy/ModuleLoader.php(37): isys_module_manager->load() #14 /var/www/html/i-doit/src/classes/core/isys_application.class.php(115): idoit\Legacy\ModuleLoader->boot() #15 /var/www/html/i-doit/src/application.inc.php(42): isys_application::run() #16 /var/www/html/i-doit/src/i-doit.inc.php(137): include_once('...') #17 /var/www/html/i-doit/src/hypergate.inc.php(261): include_once('...') #18 /var/www/html/i-doit/index.php(263): include_once('...') #19 {main} thrown in /var/www/html/i-doit/src/classes/components/isys_component_list.class.php on line 1313
Ist das ein bekanntes Problem?
-
Ich habe die wiederhergestellte 34 Testweise noch mal auf die 35 gebracht, das Problem tritt sofort wieder auf. Beim Upgrade Prozess wurde keine Fehler ausgeworfen. Der Fehler ist für mich reproduzierbar.
-
Hallo @sj
zu diesem Problem gibt es bereits einen Hotfix in unserer Knowledge-Base
Siehe hier: Category is not displayed or the category list is empty and a PHP Fatal error is logged mit
ID-11972
.Das sollte weiterhelfen!
Viele Grüße
Leo -
@LFischer Hi, danke für den tipp, ich schau mir das an und geb Rückmeldung ob es funktioniert hat.
-
Hallo,
der Patch hat funtktioniert.
Noch mal vielen lieben Dank für die Unterstüzung!
Gruß
Sven