LP#1624443 - TPAC 500 error after adding duplicate title to Temp List
authorCesar Velez <cesar.velez@equinoxinitiative.org>
Tue, 8 Aug 2017 20:13:15 +0000 (16:13 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 17 Aug 2017 15:30:53 +0000 (11:30 -0400)
commit4103ef01a877a025b4c1bd44c5439f1b49e3a70a
tree1dde7c9cb3ec903c1f8a61cf37fe99b064d358b9
parentb17fad6b7a21bf86ef04fa45e000f01a7dc1e809
LP#1624443 - TPAC 500 error after adding duplicate title to Temp List

Credit to gmcharlt, prevents the my list (temporary list) page from
crashing when a user has added a title to the list more than once.
This can happen if they add a title then login, then redo search and
add same title. Per Galen, it looks like an issue with
OpenSRF::MultiSession parallel record retrieval causing some kind of
race condition when there are duplicate entries in the list.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm