Closed Benvii closed 6 years ago
In the database model id_malette is always an integer the default value should also be an integer, I suggest 42 ;)
id_malette
42
https://github.com/OpenPathView/OPV_Ansible/blob/1e8d21bac61b160e595dcb81a29c3ec2c91894c6/group_vars/all#L6
The current value causes DBRest/API to fail on new resource creation, will throw responses like "Sqlalchemy didn't like it <class 'sqlalchemy.exc.DataError'>" ( cc @zyioump ).
"Sqlalchemy didn't like it <class 'sqlalchemy.exc.DataError'>"
In the database model
id_malette
is always an integer the default value should also be an integer, I suggest42
;)https://github.com/OpenPathView/OPV_Ansible/blob/1e8d21bac61b160e595dcb81a29c3ec2c91894c6/group_vars/all#L6
The current value causes DBRest/API to fail on new resource creation, will throw responses like
"Sqlalchemy didn't like it <class 'sqlalchemy.exc.DataError'>"
( cc @zyioump ).