You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Twig Error (Twig\Error\RuntimeError): "An exception has been thrown during the rendering of a template ("Class name must be a valid object or a string")." in template "glpi-core/main/htdocs/templates/pages/setup/webhook/webhook.html.twig" at line 45
This seems to be happening since this commit d75c417
Webhook::getAPIItemtypeData no longer returns the same array.
Example before the mentionned commit:
After the mentionned commit:
Notice the "10 > Glpi\CustomeAsset\Voiture", which must certainly be the cause of the error generated (10 not being an itemtype)
Relevant log output
No response
Page URL
front/webhook.form.php
Steps To reproduce
To reproduce the bug, you need to have a generic object (created from front/asset/assetdefinition.php).
Once you have a generic object, just go to the webhook creation page.
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Code of Conduct
Is there an existing issue for this?
Version
main
Bug description
This seems to be happening since this commit d75c417
Webhook::getAPIItemtypeData
no longer returns the same array.Example before the mentionned commit:
After the mentionned commit:
Notice the "10 > Glpi\CustomeAsset\Voiture", which must certainly be the cause of the error generated (10 not being an itemtype)
Relevant log output
No response
Page URL
front/webhook.form.php
Steps To reproduce
To reproduce the bug, you need to have a generic object (created from front/asset/assetdefinition.php).
Once you have a generic object, just go to the webhook creation page.
Your GLPI setup information
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: