http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14717

            Bug ID: 14717
           Summary: Adding a new patron can end up with 0000-00-00 as the
                    debarred date
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Bug 12633 introduced a bug, that where debarred is blank, the column is being
filled with 0000-00-00

You can test this by importing a patron using the import tool, the patron must
have no debarred date set. 
Then check in the DB and you will notice it has an invalid date 0000-00-00

This in turn makes Koha error in circulation as we try to truncate and invalid
date object. 


Adding $data{'debarred'} = undef if( not $data{'debarred'} ); to the AddMembers
subroutine should fix this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to