Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ticket, glpi_logs.new_value = null #18173

Closed
orthagh opened this issue Oct 31, 2024 · 0 comments
Closed

ticket, glpi_logs.new_value = null #18173

orthagh opened this issue Oct 31, 2024 · 0 comments

Comments

@orthagh
Copy link
Contributor

orthagh commented Oct 31, 2024

In my local GLPI instance with data of 10 years, I have a few lines of historical with new_value = null.
It breaks the timeline view of related tickets:

[2024-10-31 10:47:20] glpiphplog.CRITICAL:   *** Uncaught Exception TypeError: Glpi\RichText\RichText::getTextFromHtml(): Argument glpi-project/illustrations#1 ($content) must be of type string, null given, called in src/Log.php on line 834 in src/Glpi/RichText/RichText.php at line 90
  Backtrace :
  src/Log.php:834                                    Glpi\RichText\RichText::getTextFromHtml()
  src/CommonITILObject.php:8051                      Log::getHistoryData()
  src/Ticket.php:3975                                CommonITILObject->getTimelineItems()
  src/CommonGLPI.php:667                             Ticket->showForm()
  ajax/common.tabs.php:112                           CommonGLPI::displayStandardTab()
  ...Glpi/Controller/LegacyFileLoadController.php:59 require()
  vendor/symfony/http-kernel/HttpKernel.php:101      Glpi\Controller\LegacyFileLoadController->Glpi\Controller\{closure}()
  ...ymfony/http-foundation/StreamedResponse.php:106 Symfony\Component\HttpKernel\HttpKernel::Symfony\Component\HttpKernel\{closure}()
  vendor/symfony/http-foundation/Response.php:423    Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
  src/Glpi/Kernel/Kernel.php:255                     Symfony\Component\HttpFoundation\Response->send()
  public/index.php:58                                Glpi\Kernel\Kernel->sendResponse()
@orthagh orthagh transferred this issue from glpi-project/illustrations Oct 31, 2024
trasher added a commit to trasher/glpi that referenced this issue Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant