[open-ils-commits] [GIT] Evergreen ILS branch master updated. d8ca68fbf998a43d82435bcb29538ad2a5de4d00

Evergreen Git git at git.evergreen-ils.org
Wed May 18 10:59:45 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  d8ca68fbf998a43d82435bcb29538ad2a5de4d00 (commit)
      from  686e49ea96f3b0489fe3ab812f0aeb02810a80d9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d8ca68fbf998a43d82435bcb29538ad2a5de4d00
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Wed May 18 11:13:16 2011 -0400

    avoid error when generating fines on checkin
    
    Prevents "No active transaction to commit" error when checking
    in overdue loans.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
index 95227e9..02eebd5 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
@@ -2266,6 +2266,7 @@ sub do_checkin {
     }
 
     if( $self->circ ) {
+        $self->generate_fines_finish;
         $self->checkin_handle_circ;
         return if $self->bail_out;
         $self->checkin_changed(1);

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Circ/Circulate.pm      |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list