[Koha-bugs] [Bug 14909] Warnings from search_utf8.t when empty idx= misses in returned base

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 28 12:22:50 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14909

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 42907
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42907&action=edit
Bug 14909: Warnings from search_utf8.t when empty idx= misses in base

The regex in this test looks like:
  opac-search.pl\?idx=&q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1
The result it got was:
  opac-search.pl?q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1

The empty idx should not be a reason to fail the test. I changed the
original regex to make the 'idx=&' part optional and added a base_unlike
test to verify that the base does not include a idx=\w+ anywhere.

Also corrected the typo Goog. Good!

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
All 66 tests now pass with me.

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


More information about the Koha-bugs mailing list