]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1947173: Clean up bad cataloging pot hole
authorMike Rylander <mrylander@gmail.com>
Wed, 20 Oct 2021 20:22:37 +0000 (16:22 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 5 Nov 2021 16:08:11 +0000 (12:08 -0400)
commit593cddc98ee59eb75265a29d05d72d75c17151ba
tree1e32a18501ec019a15478bb07e3d69655f8b1eeb
parent2623d2c0ce8fb6c492b3bb0a4cc4aa45b24c85f8
LP#1947173: Clean up bad cataloging pot hole

If a MARC record has effectively empty fields (all space or punctuation)
then it's possible to stumble over a NULL text array when parsing
content for the symspell dictionary.  This commit checks for that
condition and returns early to avoid the problem.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.symspell-speed-ingest.sql