[Koha-bugs] [Bug 17932] Koha::Object should provide a TO_JSON method

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 9 14:15:28 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17932

--- Comment #19 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
What about this output for /api/v1/patrons/xxx after the second patch:

{"errors":[{"message":"([0] Expected string - got boolean. [1] Not
null.)","path":"\/gonenoaddress"},{"message":"([0] Expected string - got
number. [1] Not null.)","path":"\/flags"},{"message":"Expected string - got
number.","path":"\/privacy"},{"message":"Expected string - got
number.","path":"\/borrowernumber"},{"path":"\/guarantorid","message":"([0]
Expected string - got number. [1] Not null.)"},{"message":"([0] Expected string
- got number. [1] Not
null.)","path":"\/sms_provider_id"},{"path":"\/privacy_guarantor_checkouts","message":"Expected
string - got number."},{"path":"\/lost","message":"([0] Expected string - got
boolean. [1] Not null.)"}]}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list