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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This removes a warning
      release notes|                            |message[1] that appears in
                   |                            |the reindexing output when
                   |                            |using Elasticsearch. The
                   |                            |warning was generated if
                   |                            |there was no value in 880$6
                   |                            |(880 = Alternate Graphic
                   |                            |Representation, $6 =
                   |                            |Linkage), but there were
                   |                            |other 880 subfields with a
                   |                            |value, for example 880$a.
                   |                            |
                   |                            |[1] Use of uninitialized
                   |                            |value $sub6 in pattern
                   |                            |match (m//) at
                   |                            |/kohadevbox/koha/Koha/Searc
                   |                            |hEngine/Elasticsearch.pm
                   |                            |line 619.

--- Comment #7 from David Nind <[email protected]> ---
Testing notes (using koha-testing-docker (KTD)):

1. Start up KTD with Elasticsearch (7 or 8): ktd --es7 up
2. Edit the book framework so that 880$a and $880$6 are visible in the staff
interface (Administration > MARC bibliographic frameworks > BKS > MARC
structure).
3. Edit any record that uses the BKS framework and add a value for the 880$a
sunfield.
4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev
5. As part of the output from reindexing this warning is generated:
   Use of uninitialized value $sub6 in pattern match (m//) at
/kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 619.
6. Apply the patch.
7. Restart everything: restart_all
8. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev
9. No warning in the output!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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