https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41978
Bug ID: 41978
Summary: REST API auth/password/validation fails on patron with
a null cardnumber
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: REST API
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
If you create a patron without a card number (null) and try to validate their
credentials using auth/password/validation, the request will fail.
Error message : Expected string - got null.
The failing point isn't the validation but the return values that Koha tries to
send back in Auth/Password.pm. We simply need to send: cardnumber || "", for it
to work again.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/