https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35117 --- Comment #11 from David Nind <david@davidnind.com> --- I attempted to test: 1. The tests pass. 2. For step 2 in the QA follow-up patch, I could reproduce the warnings before the patch, but didn't get the Analytics/Component tab showing after the patch. I don't think I've set things up correctly - any hints would help. Testing notes (using KTD): 1. I set things up similar to what I did for bug 44063. 2. Start up KTD with Elasticsearch: ktd --search-engine es9 up 3. Set UseControlNumber to Use and ShowComponentRecords to both. 4. For the BKS framework make these tags and fields visible in the editor: - 001 - 003 - 773$w 5. Host record: - Programming Perl (262) - Edit record and click 003 to add a value 6. Component records (change 000 position 7 to a, click in the 003 to add a value, add 17259930 to 773$w): - CGI programming with Perl (11) - Effective Perl programming (139) - Intermediate Perl (126) 7. The host record (Programming Perl (262)) shows the Analytics link and the Components tab. 8. Remove the 001 value from the host record: ==> Result: No analytics link and components tab and warnings in the log files 8. Refresh the host records page in the staff interface and OPAC 8.1 Warnings in /var/log/koha/kohadev/plack-intranet-error.log [2026/11/10 21:14:58] [WARN] Use of uninitialized value in concatenation (.) or string at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm line 353. [2026/11/10 21:14:58] [WARN] Use of uninitialized value in concatenation (.) or string at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm line 353. [2026/11/10 21:14:58] [WARN] Use of uninitialized value $comp_query_str in concatenation (.) or string at /kohadevbox/koha/catalogue/detail.pl line 260. 8.2 Warnings in /var/log/koha/kohadev/plack-opac-error.log [2026/11/10 21:16:12] [WARN] Use of uninitialized value in concatenation (.) or string at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm line 353. [2026/11/10 21:16:12] [WARN] Use of uninitialized value in concatenation (.) or string at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm line 353. [2026/11/10 21:16:12] [WARN] Use of uninitialized value $comp_query_str in concatenation (.) or string at /kohadevbox/koha/opac/opac-detail.pl line 633. 9. After applying the patch, reindexing (koha-elasticsearch --rebuild -d -b -a kohadev) and refreshing the pages, I don't get the analytics link and components tab. I'm not sure how the host record would know about the component records if there is nothing to link them 8-). -- You are receiving this mail because: You are watching all bug changes.