Datatype issue while database data injection
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
So related fix seems to be a GLPI fix, not a datainjection fix
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.
You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.