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

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #18 from Martin Renvoize (ashimema) 
<[email protected]> ---
Hi Janusz, Marcel, Pedro,

I have attached a follow-up on top of the two signed-off patches, which are
unchanged. It applies on top of bug 35117.

- The "// ''" in Koha/Biblio.pm is dropped. With bug 35117 a search is always
built for a record without a 001, so it is not needed and would only send an
empty search.
- Pedro's first point: catalogue/detail.pl uses an empty list instead of undef
for a record with invalid MARC. I could reproduce the "Can't use an undefined
value as an ARRAY reference" and the follow-up removes it. Note that on current
master a record that cannot be repaired at all fails earlier in detail.pl and
later in C4/XSLT.pm, so this is only visible once the degraded view works for
such records, but the change is correct on its own.
- The analytics_error was only set inside the "if ( @{$components} )" block, so
it was never set when the search fails. It is set before the block now. To
test: with the search engine not available, the staff detail page shows "There
was an error searching for analytic records".
- Pedro's second point: the unit test calls get_components_query, which only
builds the query, instead of get_marc_components, so it needs no Elasticsearch
node. The previous version fails on a Zebra instance with "[NoNodes] No nodes
are available", this one passes on it.

This still depends on bug 35117.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to