http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7453
Bug #: 7453
Summary: Borrower without expiry date breaks opac login
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: OPAC
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
I ran into this problem while testing, because of some circumstances that are
probably very rare:
1) the admin user from patron sample data has no expiry date
2) the sample patrons are written into the database directly
3) I used password change and didn't open the patron record for editing, so the
expiry date didn't get calculated
I think it's not possible to add a patron without expiry date using the patron
import tool or the staff interface.
But if you follow the described steps or set a patron record's expiry date to
NULL in your database, you will get a perl error on login into OPAC:
opac-user.pl: Date::Calc::Add_Delta_Days(): not a valid date at
/home/koha2/koha/opac/opac-user.pl line 112., ...
--
Configure bugmail:
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
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/