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
We are using DataInjection plugin with GLPI 10.0.16, and we have the following error while database data update:
According to our investigations, the error is due to a mismatched datatype between the databaseinjection class and the database attributes.
In the file <datainjection/inc/databaseinjection.class.php>, there is a search option datatype check in the function <get_parent_class (highlighted in the screenshot below) which causes error:
Because the right datatype is "datetime" and not "date", we can find this information in the file <glpi/src/Database.php>
We have tested to change the datatype to "datetime" in the databaseinjection.class.php file, everything works well.
Could you please fix this issue and publish a new version of the plugin?
Thank you in advance.
Shu Wen
The text was updated successfully, but these errors were encountered:
Hello,
We are using DataInjection plugin with GLPI 10.0.16, and we have the following error while database data update:
According to our investigations, the error is due to a mismatched datatype between the databaseinjection class and the database attributes.
In the file <datainjection/inc/databaseinjection.class.php>, there is a search option datatype check in the function <get_parent_class (highlighted in the screenshot below) which causes error:
Because the right datatype is "datetime" and not "date", we can find this information in the file <glpi/src/Database.php>
We have tested to change the datatype to "datetime" in the databaseinjection.class.php file, everything works well.
Could you please fix this issue and publish a new version of the plugin?
Thank you in advance.
Shu Wen
The text was updated successfully, but these errors were encountered: