Bug 2746

Summary: Modify a patron, and set an empty expiry date create an error
Product: Koha Reporter: Nahuel Angelinetti <nahuel.angelinetti>
Component: PatronsAssignee: Nahuel Angelinetti <nahuel.angelinetti>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: PATCH-Sent (DO NOT USE)    
Version: Main   
Hardware: PC   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: fix the bug
replace the previous patch

Description Chris Cormack 2010-05-21 00:55:24 UTC


---- Reported by nahuel.angelinetti@biblibre.com 2008-10-30 09:10:17 ----

Actually, when you modify a patron, and you set an empty field as expiry date, it set a "0000-00-00" date as the expiration date (too bad!), so it breaks the expiration date.
Better is to keep the actual date(in the db), and force the admin to use the "Renew" button if he want to renew the expiration date.



---- Additional Comments From nahuel.angelinetti@biblibre.com 2008-10-30 09:14:11 ----

Created an attachment
fix the bug





---- Additional Comments From nahuel.angelinetti@biblibre.com 2008-10-31 07:55:48 ----

Created an attachment
replace the previous patch





---- Additional Comments From gmcharlt@gmail.com 2008-11-06 14:23:47 ----

Patch pushed to 3.1.  Please test and close.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 00:55 UTC  ---

This bug was previously known as _bug_ 2746 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2746
Imported an attachment (id=823)
Imported an attachment (id=824)

Actual time not defined. Setting to 0.0
The original submitter of attachment 823 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 824 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.