[Koha-bugs] [Bug 32594] Add a dedicated ES indexing background worker

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 2 21:29:06 CET 2023


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

Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Patch doesn't apply         |Failed QA

--- Comment #20 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
I encountered an error while testing this patch with batch item updates, in
which one bad bib blocked the ES indexing update for every item in the batch.

To reproduce the error:
1. Apply patches and run ktd --es7 up
2. Set SearchEngine system preference to 'Elasticsearch'
3. perl misc/search_tools/es_indexer_daemon.pl
   (leave running in the terminal while performing subsequent steps)
4. Perform an item search for all items where Collection is Reference
5. Export the results to a barcode file (898 items)
6. Upload this file to the Batch Item Modification Tool
7. Make an edit to the Full Call Number* and click Save
8. Notice that es_indexer_daemon prints an error to the console
9. Perform a catalog search
10. Limit the results with the Collection - Reference facet
11. Note that none of the results display the updated Call Number value

*Or, as far as I can tell, any edit that will produce a change in the record
for
biblionumber 369

Error message printed to the console:

^ at /kohadevbox/koha/Koha/Biblio/Metadata.pm line 114.
DEBUG - Update of elastic index failed with: Invalid data, cannot decode
metadata object (biblio_metadata.id=368, biblionumber=369, format=marcxml,
schema=MARC21, decoding_error=':8: parser error : PCDATA invalid Char value 31
  <controlfield tag="001">00aD000015937</controlfield>
                            ^
:9: parser error : PCDATA invalid Char value 31
  <controlfield tag="004">00satmrnu0</controlfield>
                            ^
:9: parser error : PCDATA invalid Char value 31
  <controlfield tag="004">00satmrnu0</controlfield>
                               ^
:9: parser error : PCDATA invalid Char value 31
  <controlfield tag="004">00satmrnu0</controlfield>
                                  ^
:9: parser error : PCDATA invalid Char value 31
  <controlfield tag="004">00satmrnu0</controlfield>
                                     ^
:10: parser error : PCDATA invalid Char value 31
  <controlfield tag="008">00ar19881981bdkldan</controlfield>
                            ^
:10: parser error : PCDATA invalid Char value 31
  <controlfield tag="008">00ar19881981bdkldan</controlfield>
                                       ^
:10: parser error : PCDATA invalid Char value 31
  <controlfield tag="008">00ar19881981bdkldan</controlfield>
                                           ^')

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list