You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-04-17 17:17:22

sIBajHYG
Member
From: Mission [KS]
Registered: 2023-08-18
Posts: 59

[SOLVED] Right panel of ticket is empty

I couldn't find a solution on the forum according to my logs. For some reason, sometimes all the tool panels are shifted down. This is browser independent. Obviously glpi creates a web page crookedly.
xUg73l.jpg
I found these logs in     /glpi/files/_log/php-errors.log

[2024-04-17 09:55:41] glpiphplog.CRITICAL:   *** Uncaught Exception Exception: Failed to parse time string (04-17-2024 09:48) at position 0 (0): Unexpected character in /glpi/src/Html.php at line 196
  Backtrace :
  src/Html.php:196                                   DateTime->__construct()
  src/Html.php:239                                   Html::convDate()
  ...tion/View/Extension/DataHelpersExtension.php:81 Html::convDateTime()
  ...ates/fe/fef8590de7852dfd439f63514298d078.php:53 Glpi\Application\View\Extension\DataHelpersExtension->getFormattedDatetime()
  vendor/twig/twig/src/Template.php:394              __TwigTemplate_553bd7770dd2a70e6dc6d143afaedbca->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()
  ...ates/27/27ad52a4a435fee2f2bb1c619f5cd240.php:56 twig_include()
  vendor/twig/twig/src/Template.php:394              __TwigTemplate_2f56e800b35ca703435d665dcf21959a->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()
  ...tes/9e/9e38b38526c396295a85984441841cec.php:388 twig_include()
  vendor/twig/twig/src/Template.php:394              __TwigTemplate_6eb74bb0983073ef60d6a5609d9498b8->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()
  ...tes/1c/1caa98bed588bec6eb7b3069dc1ccd9c.php:131 twig_include()
  vendor/twig/twig/src/Template.php:394              __TwigTemplate_9c65fbf1c20f56d56f39e875e7f9fbca->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/Ticket.php:4375                                Glpi\Application\View\TemplateRenderer->display()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()

Can you please tell me if this error could be somehow related? From the logs I don’t even understand what the problem could be.

Last edited by sIBajHYG (2024-04-17 22:16:41)


Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.6.
FusionInventory 10.0.6+1.1, Human Resources 3.0.4, PHP SAML 1.2.1, Additional Fields 1.21.8, Oauth IMAP 1.4.2

Offline

#2 2024-04-17 17:27:01

sIBajHYG
Member
From: Mission [KS]
Registered: 2023-08-18
Posts: 59

Re: [SOLVED] Right panel of ticket is empty

Further tests showed that this is due to the date format.
If in my personal settings I select the date format DD-MM-YYYY, then this bug disappears.

The bug exists only in admin profiles. For users everything is displayed correctly.

Please tell me what can be fixed so as not to get this bug with the date format MM-DD-YYYY?

Last edited by sIBajHYG (2024-04-17 19:21:05)


Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.6.
FusionInventory 10.0.6+1.1, Human Resources 3.0.4, PHP SAML 1.2.1, Additional Fields 1.21.8, Oauth IMAP 1.4.2

Offline

#3 2024-04-17 19:46:56

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,430
Website

Re: [SOLVED] Right panel of ticket is empty

For the date issue (and maybe the UI one too), you need to update GLPI.
The date issue has been fixed since 10.0.11.


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

#4 2024-04-17 20:12:33

sIBajHYG
Member
From: Mission [KS]
Registered: 2023-08-18
Posts: 59

Re: [SOLVED] Right panel of ticket is empty

cconard96 wrote:

For the date issue (and maybe the UI one too), you need to update GLPI.
The date issue has been fixed since 10.0.11.

We can't update yet... can you please provide a link to fix this bug, or any other option... or where else can I look for information?


Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.6.
FusionInventory 10.0.6+1.1, Human Resources 3.0.4, PHP SAML 1.2.1, Additional Fields 1.21.8, Oauth IMAP 1.4.2

Offline

#5 2024-04-17 20:45:17

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,430
Website

Re: [SOLVED] Right panel of ticket is empty

https://github.com/glpi-project/glpi/pull/15901

Not sure about the UI. I don't recall a specific pull request to fix a UI issue like this.


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

#6 2024-04-17 21:42:35

sIBajHYG
Member
From: Mission [KS]
Registered: 2023-08-18
Posts: 59

Re: [SOLVED] Right panel of ticket is empty

cconard96 wrote:

https://github.com/glpi-project/glpi/pull/15901

Not sure about the UI. I don't recall a specific pull request to fix a UI issue like this.

Thank you very much! That helped!

https://github.com/glpi-project/glpi/pull/15901/commits/a151b732fc33a3a0aee1fe7a04698ca26818201c

Also, the error when generating the Ticket WEB interface disappeared from the PHP logs. So everything looks correct and should work!

P.S. Curtis, I owe you a beer!

Last edited by sIBajHYG (2024-04-17 23:17:24)


Linux ubuntu-22.04.2-live-server-amd64, PHP 8.1.2, Apache 2.4.52, MariaDB 10.6.12, GLPI 10.0.6.
FusionInventory 10.0.6+1.1, Human Resources 3.0.4, PHP SAML 1.2.1, Additional Fields 1.21.8, Oauth IMAP 1.4.2

Offline

Board footer

Powered by FluxBB