-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
GLPI Version
11.0.1
Plugin version
2.14.0
Bug description
When having a personalized view (same problem may also be for global view) for the tag-list containing "Associated item types" the page crashes and is no longer accessible.
Relevant log output
[2025-11-20 11:47:50] glpi.CRITICAL: *** Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Syntax error") in "pages/generic_list.html.twig" at line 37." at generic_list.html.twig line 37
Backtrace :
./templates/pages/generic_list.html.twig:37
./vendor/twig/twig/src/Template.php:358 Twig\Template->yield()
./vendor/twig/twig/src/Template.php:373 Twig\Template->display()
./vendor/twig/twig/src/TemplateWrapper.php:51 Twig\Template->render()
.../Glpi/Application/View/TemplateRenderer.php:170 Twig\TemplateWrapper->render()
./src/Glpi/Controller/AbstractController.php:68 Glpi\Application\View\TemplateRenderer->render()
./src/Glpi/Controller/GenericListController.php:51 Glpi\Controller\AbstractController->render()
./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\GenericListController->__invoke()
./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw()
./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle()
./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()
Previous: Syntax error
...machine/safe/lib/Exceptions/JsonException.php:9
.../thecodingmachine/safe/lib/special_cases.php:39 Safe\Exceptions\JsonException::createFromPhpError()
./plugins/tag/inc/tag.class.php:418 Safe\json_decode()
./src/Glpi/Search/Provider/SQLProvider.php:6817 PluginTagTag::getSpecificValueToDisplay()
./src/Glpi/Search/Provider/SQLProvider.php:5219 Glpi\Search\Provider\SQLProvider::giveItem()
./src/Glpi/Search/SearchEngine.php:655 Glpi\Search\Provider\SQLProvider::constructData()
./src/Glpi/Search/SearchEngine.php:670 Glpi\Search\SearchEngine::getData()
./src/Glpi/Search/SearchEngine.php:627 Glpi\Search\SearchEngine::showOutput()
: Glpi\Search\SearchEngine::show()
.../Application/View/Extension/PhpExtension.php:93 call_user_func_array()
...ates/36/36691ff646745b0dd985ab433945ce4a.php:55 Glpi\Application\View\Extension\PhpExtension->call()
./vendor/twig/twig/src/Template.php:402 __TwigTemplate_3ad777e83e35fbd80431f8d3ca71f9da->doDisplay()
./vendor/twig/twig/src/Template.php:358 Twig\Template->yield()
./vendor/twig/twig/src/Template.php:373 Twig\Template->display()
./vendor/twig/twig/src/TemplateWrapper.php:51 Twig\Template->render()
.../Glpi/Application/View/TemplateRenderer.php:170 Twig\TemplateWrapper->render()
./src/Glpi/Controller/AbstractController.php:68 Glpi\Application\View\TemplateRenderer->render()
./src/Glpi/Controller/GenericListController.php:51 Glpi\Controller\AbstractController->render()
./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\GenericListController->__invoke()
./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw()
./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle()
./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()Page URL
./plugins/tag/front/tag.php
Steps To reproduce
- Open tags-list
- Create or modify a personal view
- Add "Associated item types"
- Close "Select default items to show" popup
Your GLPI setup information
No response
Anything else?
I guess you need to have some tags pre-defined which already have some assignments to encounter this error.
I can provide additional information like "which type of items have assigned tags" ecc. if you need.
Metadata
Metadata
Assignees
Labels
No labels