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

Adolfo Rodríguez Taboada <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Adolfo Rodríguez Taboada <[email protected]> ---
Tested the three bodies from the test plan (truncated MARCXML, truncated
MARC-in-JSON and a non-MARC text as application/marc), both as POST
/api/v1/biblios and PUT /api/v1/biblios/{biblio_id}:

- Before the patch:
  - POST with the MARCXML body returned 500.
  - POST with the MARC-in-JSON and ISO2709 bodies returned 200 and created
biblios with empty metadata.
  - PUT already returned 400.
- After the patch, all six requests return 400 with error_code bad_record, no
biblio is created, and the PUT target is unchanged.

Minor, not a blocker: for the ISO2709 case the error message ends with an empty
reason ("Unable to parse record from request body: "), as the parser does not
die there.

The QA script is happy, and t/db_dependent/api/v1/biblios.t and xt/api.t pass.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to