Tpac - Server error with bad due dates
Bug #994796 reported by
Ben Shum
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.2 |
Fix Released
|
Medium
|
Unassigned | ||
2.3 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Evergreen version: ~2.2 beta2
With Tpac, if a circulation has a bad due date entry for a checked out item, it can crash the page and return a 500 internal server error message. The only indication you have is in the apache error log where it tells you that egweb had a problem with the specific date entry.
In our case, we had a circulation with a due date in the database like: '0201-04-26 23:59:59-04:56:02' so presumably a staff member mistakenly hand-keyed a due date as year '201' instead of '2012'.
We should probably make Tpac a little more lenient with possible date exceptions.
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Tested and confirmed in master (2506f44).