]> git.evergreen-ils.org Git - Evergreen.git/commit
LP #1075167: Serials: Avoid infinite loop in holdings summarization
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 9 Jan 2013 21:20:39 +0000 (16:20 -0500)
committerDan Wells <dbw2@calvin.edu>
Thu, 10 Jan 2013 12:59:45 +0000 (07:59 -0500)
commitc208c4c555063f40f21d64caa1bbe0fc9c1cbf79
treef3d816435cd684d934520c13e42b3f5b5c5f760b
parentc1054b299e19f2101996cb707f8408379beb1472
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>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD.pm
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Caption.pm