[open-ils-commits] r15213 - branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 21 15:11:33 EST 2009
Author: erickson
Date: 2009-12-21 15:11:28 -0500 (Mon, 21 Dec 2009)
New Revision: 15213
Modified:
branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
backporting fix to prevent circ event creation with empty event names
Modified: branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2009-12-21 20:07:06 UTC (rev 15212)
+++ branches/rel_1_6_0/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2009-12-21 20:11:28 UTC (rev 15213)
@@ -907,7 +907,7 @@
push(@{$results->{failure_codes}},
$_->{fail_part}) for @{$self->matrix_test_result};
push(@{$results->{failure_events}},
- $LEGACY_CIRC_EVENT_MAP->{$_->{fail_part}})
+ $LEGACY_CIRC_EVENT_MAP->{$_->{fail_part}} || $_->{fail_part})
for @{$self->matrix_test_result};
return $results;
}
@@ -2417,7 +2417,7 @@
if(!$self->legacy_script_support) {
my $results = $self->run_indb_circ_test;
unless($self->circ_test_success) {
- push(@$events, $LEGACY_CIRC_EVENT_MAP->{$_->{fail_part}}) for @$results;
+ push(@$events, $LEGACY_CIRC_EVENT_MAP->{$_->{fail_part}} || $_->{fail_part}) for @$results;
}
} else {
More information about the open-ils-commits
mailing list