]> 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:39 +0000 (12:08 -0400)
commitca64d81c00fd2ec98e2b81d9bad17cab245c903e
tree2ab0a8ef2fe7ff37ddeeead0dd4412782a76cd0f
parent1ed9223c2d63ef9dd4a142c42386c1cb729ad599
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