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

PHP error triggered on assets custom fields E2E tests #18176

Open
cedric-anne opened this issue Oct 31, 2024 · 0 comments
Open

PHP error triggered on assets custom fields E2E tests #18176

cedric-anne opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@cedric-anne
Copy link
Member

The following error is logged during E2E test execution:

[2024-10-31 12:14:34] glpiphplog.CRITICAL:   *** Uncaught Exception InvalidArgumentException: The value must be in the format YYYY-MM-DD HH:MM:SS in /var/www/glpi/src/Glpi/Asset/CustomFieldType/DateTimeType.php at line 67
  Backtrace :
  ajax/asset/customfield.php:47                      Glpi\Asset\CustomFieldType\DateTimeType->normalizeValue()
  ...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()
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

2 participants