Closed LeComptoirDesPharmacies closed 3 years ago
Hello @LeComptoirDesPharmacies,
First of all, great catch and thank you for your feedback. Our team is looking into it. I will keep you updated.
Have a nice day,
Hello @LeComptoirDesPharmacies,
This has been fixed in our latest release : 2.14.0.
Have a nice day,
Bug with primitive long
Hi, we have an issue on update legal user endpoint. The properties
LegalRepresentativeBirthday
is optional but when it's not fill, it's set automatically to0
as it is a primitivelong
.The bug
So when we have an user who already have a
LegalRepresentativeBirthday
set at the creation of the user for exemple and then we update the user withLegalRepresentativeBirthday
unset, the initial value will be replace by 0. And it will invalidate every KYC documents.The solution
Replace the primitive
long
( unboxing ) by and aLong
object ( autoboxing ) and then when it's not fill, it will be set to null and do not change the initial value.