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

--- Comment #1 from Janusz Kaczmarek <[email protected]> ---
Created attachment 192054
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=192054&action=edit
Bug 41713: warnings sometimes generated when using ShowComponentRecords feature

When using ShowComponentRecords feature warnings are generated from
staff interface detail view when:
1. ShowComponentRecords = 'both' or 'staff' AND
2. UseControlNumber is on AND
3. record lacks 001 field

Test plan
=========
1. Have a standard ktd instance with Elasticsearch.
2. Set UseControlNumber systempreference to Use.
3. In OPAC and in staff interface, open in Normal
   view a record without field 001, e.g. # 399
   ("Art Since 1980").
4. Check plack-opac-error.log and plack-intranet-error.log.
   You should see fresh warnings like:
   [WARN] Use of uninitialized value in concatenation (.) or string at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm line 352.
   [WARN] Use of uninitialized value $comp_query_str in concatenation (.) or
string at /kohadevbox/koha/opac/opac-detail.pl line 640

   [WARN] Use of uninitialized value in concatenation (.) or string at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm line 352.
   [WARN] Use of uninitialized value $comp_query_str in concatenation (.) or
string at /kohadevbox/koha/catalogue/detail.pl line 273.
5. Apply the patch; restart_all.
6. Repeat p. 4. There should be no new warnings.

Sponsored-by: Ignatianum University in Cracow

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to