LP #1075167: Serials: Avoid infinite loop in holdings summarization collab/senator/fix-mfhd-summary-loop
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 9 Jan 2013 21:20:39 +0000 (16:20 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 9 Jan 2013 21:30:11 +0000 (16:30 -0500)
commit6231768a9d49a95c35d119752aa64e7272e5fe4a
tree18379ede12030814e4e064487adaab79d3c5baf6
parent67a5b12ed5b8c7e2455bf20e78a69949eb8fffba
LP #1075167: Serials: Avoid infinite loop in holdings summarization

When receiving items with unworkable combinations of holdings and
patterns, the holdings summarization code can get stuck in an infinite
loop.  This solution prevents that, sparing the open-ils.serial
process and server resources, although it doesn't help the user out.

It will take further examination of the problem and reĆ«valution of how
we deal with problems reported by OpenILS::Utils::MFHD to help the
user avoid or resolve these situations.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Caption.pm