From: gmc Date: Tue, 10 Aug 2010 21:10:53 +0000 (+0000) Subject: bug 592777: allow authoritative version of open-ils.circ.retrieve X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=78845416bc26cb1971744ffb980af3304598138e;p=evergreen%2Fbjwebb.git bug 592777: allow authoritative version of open-ils.circ.retrieve Part of a fix to avoid race condition that can occur when patron renews an item in the OPAC in a database that uses pgpool and replication, which sometimes results in an erroneous 'action_circulation_not_found' error. Signed-off-by: Galen Charlton git-svn-id: svn://svn.open-ils.org/ILS/trunk@17160 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm index 2ee2334fc..f85c75482 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ.pm @@ -49,6 +49,7 @@ sub initialize { __PACKAGE__->register_method( method => 'retrieve_circ', + authoritative => 1, api_name => 'open-ils.circ.retrieve', signature => q/ Retrieve a circ object by id