[Koha-bugs] [Bug 21105] oai.pl returns invalid earliestDatestamp

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 12 15:37:46 CET 2021


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

--- Comment #22 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 127588
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127588&action=edit
Bug 21105: (QA follow-up) Silence warning because of tests setup

The tests are using 'http://localhost' and the regex is setting $baseURL
to empty in this case. It works on the oai.pl front-end.

This patch changes the regex.

To test:
1. Run:
   $ kshell
  k$ t/db_dependent/OAI/Server.t
=> FAIL: Boo! Warning!
2. Apply this patch
3. Repeat 2
=> SUCCESS: Oh, cool. No warning :-D
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list