[Koha-bugs] [Bug 13264] Test about UTF-8 (bug 11944)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Dec 28 17:02:23 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13264
Zeno Tajoli <z.tajoli at cineca.it> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #45 from Zeno Tajoli <z.tajoli at cineca.it> ---
Hi,
in fact for there are problems with new format in search_utf8.t, not in
auth_values_input_www.t.
The problems:
/t/db_dependent/www$ prove search_utf8.t
search_utf8.t .. 19/32
# Failed test 'Base is like
"(?^u:search.pl\?idx=kw&q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1)"'
# at search_utf8.t line 218.
# got: "http://192.168.216.128:8080/cgi-bin/koha/catalogue"...
# length: 75
# doesn't match '(?^u:search.pl\?idx=kw&q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1)'
search_utf8.t .. 26/32
# Failed test 'Base is like
"(?^u:opac-search.pl\?idx=&q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1)"'
# at search_utf8.t line 241.
# got: "http://192.168.216.128/cgi-bin/koha/opac-detail.pl"...
# length: 65
# doesn't match
'(?^u:opac-search.pl\?idx=&q=%CE%91%CE%B8%CE%AE%CE%BD%CE%B1)'
search_utf8.t .. 32/32 # Looks like you failed 2 tests of 32.
search_utf8.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/32 subtests
Motivation: I use a MySQL db completly clear, so when I start test at test 19 I
have only 1 record into db and zebra (zebra records are coming fromm db).
So the search finds 1 result and it display a FULL RECORD display, not a MANY
RESULTS display.
The full record display has a url base DIFFERENT from a many result display.
The test 19 wants a base as a MANY RESULTS display.
In fact if test 2-3 times WITHOUT purge (because you stop the debug) you have
two o more time the same test record uploaded in to db and so the search gives
you a MANY RESULTS display.
So the first question is: WHERE we want to testt the display of utf-8 chars ?
In the FULL RECORD display or in the MANY RESULTS display ?
My original code was on testing uft-8 chars into FULL RECORD display but we can
change anch test on MANY RESULTS display.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list