[Koha-bugs] [Bug 34999] REST API: Public routes should respect OPACMaintenance
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 12 15:54:17 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34999
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #160840|0 |1
is obsolete| |
Attachment #160841|0 |1
is obsolete| |
--- Comment #13 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 160973
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160973&action=edit
Bug 34999: Throw exception for public routes if OPACMaintenance is enabled
Test plan:
[1] Try public endpoint like /api/v1/public/biblios/X/items.
* Replace X by an existing biblionumber.
You should receive a 200.
[2] Enable OPACMaintenance. Set to Show.
[3] Try same endpoint. You should get a 503 with a json error.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list