-
Notifications
You must be signed in to change notification settings - Fork 50
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
Datatype issue while database data injection #412
Comments
So related fix seems to be a GLPI fix, not a datainjection fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: