You are not logged in.
Hello,
In GLPI 10.0.2 you cannot link an existing document within an assistance item (change,ticket, problem), only create a new document, but from the document (in my case a document which is an URL to our DMS, with no content stored on GLPI server) you can create a link to an assistance item. In my case i linked the document to a change, this causes the change display to show a blank page (which can be corrected by unlinking the document). I think it is a bug (either by allowing the link from the document or by improper handling of the document in the change).
The php-errors.log shows :
[2022-08-19 10:00:06] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: Argument 1 passed to Glpi\Application\View\Extension\DocumentExtension::getDocumentSize() must be of the type string, null given, called in /var/www/glpi/files/_cache/templates/cd/cd0fd9363a4486d929f058e43053411f4e376cd87069f3ace20140960a7ffccc.php on line 119 in /var/www/glpi/src/Application/View/Extension/DocumentExtension.php at line 78
Backtrace :
...053411f4e376cd87069f3ace20140960a7ffccc.php:119 Glpi\Application\View\Extension\DocumentExtension->getDocumentSize()
vendor/twig/twig/src/Template.php:171 __TwigTemplate_51c49053ba303fe224b6f7db071ad77adb828bfa16f8772b97e0e778d6c4c5be->block_timeline_card()
...2eed0eb604416b758a03d754223f77f43254088a.php:48 Twig\Template->displayBlock()
vendor/twig/twig/src/Template.php:394 __TwigTemplate_3c0385f86bf1f6610d37651f2fba31ad7d7b025e4d564e0e0644c06a25222344->doDisplay()
vendor/twig/twig/src/Template.php:367 Twig\Template->displayWithErrorHandling()
...3053411f4e376cd87069f3ace20140960a7ffccc.php:45 Twig\Template->display()
vendor/twig/twig/src/Template.php:394 __TwigTemplate_51c49053ba303fe224b6f7db071ad77adb828bfa16f8772b97e0e778d6c4c5be->doDisplay()
vendor/twig/twig/src/Template.php:367 Twig\Template->displayWithErrorHandling()
vendor/twig/twig/src/Template.php:379 Twig\Template->display()
vendor/twig/twig/src/TemplateWrapper.php:40 Twig\Template->render()
.../twig/twig/src/Extension/CoreExtension.php:1323 Twig\TemplateWrapper->render()
...de156835d5ba06fd6af5d5a9d6e6e44873fe747.php:378 twig_include()
vendor/twig/twig/src/Template.php:394 __TwigTemplate_6fc03816db57dc6ce5ade59222d518676fc552f9766d4c628f9d38656169bd93->doDisplay()
vendor/twig/twig/src/Template.php:367 Twig\Template->displayWithErrorHandling()
vendor/twig/twig/src/Template.php:379 Twig\Template->display()
vendor/twig/twig/src/TemplateWrapper.php:40 Twig\Template->render()
.../twig/twig/src/Extension/CoreExtension.php:1323 Twig\TemplateWrapper->render()
...3176d4f4a5c5d68f761da4c83b2a39ac619a423.php:128 twig_include()
vendor/twig/twig/src/Template.php:394 __TwigTemplate_e16cc0d180a6e8690c02d42d6e09dd222607f59b8508582007c04a8d557ae004->doDisplay()
vendor/twig/twig/src/Template.php:367 Twig\Template->displayWithErrorHandling()
vendor/twig/twig/src/TemplateWrapper.php:47 Twig\Template->display()
src/Application/View/TemplateRenderer.php:179 Twig\TemplateWrapper->display()
src/CommonITILObject.php:427 Glpi\Application\View\TemplateRenderer->display()
src/CommonGLPI.php:657 CommonITILObject->showForm()
ajax/common.tabs.php:111 CommonGLPI::displayStandardTab()
Plateforme : Apache/Debian
Version GLPI : 10.0.18
Plugins activés : Accounts, Apps structures, Badges, Connections, Consumable request, Databases, Dataflows, Orders management, Releases, Inventory
Offline
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline