[OPEN-ILS-DEV] (Patch) Restore typo to Circulate.pm

Warren Layton warren.layton at gmail.com
Tue Mar 2 12:37:14 EST 2010


The attached patch, against branches/rel_1_6_0, restores a typo to the
"cleanse_ISO8601" (reverting it back to "clense_ISO8601"). This change
was made with r15609 and causes a "Network Error" window to pop when
trying to check out items.

Alternatively, the function name could be fixed throughout the
rel_1_6_0 branch (as was done in trunk, I think).

Including a DCO, just in case...

Cheers,
  Warren

=====================================
Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Signed-off-by: Warren A. Layton <warren dot layton at googlemail>
-------------- next part --------------
Index: Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	(revision 15653)
+++ Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm	(working copy)
@@ -592,7 +592,7 @@
 			unless $U->is_true($patron->card->active);
 	
 		my $expire = DateTime::Format::ISO8601->new->parse_datetime(
-			cleanse_ISO8601($patron->expire_date));
+			clense_ISO8601($patron->expire_date));
 	
 		$self->bail_on_events(OpenILS::Event->new('PATRON_ACCOUNT_EXPIRED'))
 			if( CORE::time > $expire->epoch ) ;


More information about the Open-ils-dev mailing list