LP#1303940: Protect against bogus data that can breaking indexing user/miker/lp1303940-browse-hates-null
authorMike Rylander <mrylander@gmail.com>
Mon, 7 Apr 2014 18:03:51 +0000 (14:03 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 7 Apr 2014 18:03:51 +0000 (14:03 -0400)
commitfa1c6f3ade203326f12e5a0be428c826112a8849
tree9e8fe642a77e9934ea75949caa43813c7a0d927d
parentf23274d750213f8d9332ee5edc443f70b432b1de
LP#1303940: Protect against bogus data that can breaking indexing

In at least the case of browse indexing, some MARC contents can
cause us problems when normalization (such as stripping all
punctuation) can leave us with a NULL value for index-intended
data. The patch avoids the specific case of browse data being null
and causing an ingest failure.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.browse-ingest-null-protect.sql [new file with mode: 0644]