[Koha-bugs] [Bug 36418] Set response's content-type to application/json when needed - svc scripts
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 29 08:28:30 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36418
Jonathan Druart <jonathan.druart at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #164094|0 |1
is obsolete| |
Attachment #164095|0 |1
is obsolete| |
Attachment #164096|0 |1
is obsolete| |
Attachment #164097|0 |1
is obsolete| |
--- Comment #18 from Jonathan Druart <jonathan.druart at gmail.com> ---
Created attachment 164102
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164102&action=edit
Bug 36418: Explicitly set response to json
To test:
1. Add some checkouts and load the issues-table
2. Select 'Check in' checkbox for that item and click "Check in selected items"
3. The row becomes read and reads "Unable to check in"
4. Reload the page, the item has actually checked in
5. Try the 'Renew' checkbox and click "Renew selected items"
6. It just spins and spins.
7. Reload the page, the item has actually renewed.
8. APPLY PATCH and restart_all
9. Try the steps again and this time everything should work properly.
10. tests these URLs
http://localhost:8081/cgi-bin/koha/svc/recall
http://localhost:8080/cgi-bin/koha/svc/club/enroll
http://localhost:8081/cgi-bin/koha/svc/mana/increment : empty response
Signed-off-by: Brendan Lawlor <blawlor at clamsnet.org>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list