[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 0515ed6b87e8819f2dd4905752d7afd0769790a3

Evergreen Git git at git.evergreen-ils.org
Wed May 18 11:14:09 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, rel_2_1 has been updated
       via  0515ed6b87e8819f2dd4905752d7afd0769790a3 (commit)
      from  48bb0e9960e0e203ec84aae16af42a82865373ff (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 0515ed6b87e8819f2dd4905752d7afd0769790a3
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