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

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

Bug 35117 (get_marc_components and get_marc_volumes consistent) now has a
follow-up that fixes the same warnings at the source. With UseControlNumber on
and no 001, get_components_query and get_volumes_query fall back to the title
search, so a search string is always built and the "uninitialized value"
warnings from QueryBuilder.pm and the detail pages do not happen.

That overlaps with the "$searchstr // ''" change here, which hides the warning
but still sends an empty search. My suggestion:

1. 35117 lands first, so I have made this bug depend on it.
2. This bug keeps the unit tests and Pedro's two points from comment 15: the
crash in catalogue/detail.pl for records with invalid but recoverable MARC (use
[] rather than undef), and the unit test.
3. The "// ''" change in Koha/Biblio.pm is dropped.

Does that sound right to you? If it helps, I can rework the patch here once
35117 is signed off.

-- 
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