https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38929 --- Comment #9 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- (In reply to Jonathan Druart from comment #8)
(In reply to Tomás Cohen Arazi (tcohen) from comment #6)
Well, we have a long time voted coding guideline
https://wiki.koha-community.org/wiki/Coding_Guidelines_-_API#REST3.4.1_POST
Yes, and it's not enough. Here is a test to enforce it, we have 3 failures.
I know about them. Answering inline:
# Failed test 'Koha/REST/V1/Auth/Password.pm does not contain the location header' # at xt/api.t line 186.
I'm not sure what location it should return. Maybe the same was used for the request.
# Failed test 'Koha/REST/V1/Patrons/Account.pm does not contain the location header' # at xt/api.t line 186.
This is certainly handled by bug 38932.
# Failed test 'Koha/REST/V1/Preservation/WaitingList.pm does not contain the location header' # at xt/api.t line 186. # Looks like you failed 3 tests of 55.
A complex one. The POST receives a list of items. I'm also not sure on this one. Ideas? -- You are receiving this mail because: You are watching all bug changes.