Offline checkin backdate parsing error

Bug #1322303 reported by Bill Erickson
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.5
Fix Released
Undecided
Unassigned
2.6
Fix Released
Undecided
Unassigned

Bug Description

Seen in 2.6 and master. Likely affects 2.5 as well.

Offline checkin with a backdate results in:

*** Call to [open-ils.circ.checkin] failed for session [1400261385.886352988.02969031749], thread trace [1]:\nInvalid date format: 2014-05-16 08:47:46 at /usr/share/perl5/Error.pm

This was traced to a call to DateTime::Format::ISO8601->parse_datetime() where the date was not first passed through cleanse_ISO8601(). Patch on its way...

Tags: pullrequest
Revision history for this message
Bill Erickson (berick) wrote :
tags: added: pullrequest
Changed in evergreen:
milestone: none → 2.next
Revision history for this message
Ben Shum (bshum) wrote :

May affect more than just offline backdated checkins and may affect other backdate actions as well.

Picked to master, rel_2_6 and rel_2_5.

Changed in evergreen:
status: New → Fix Committed
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.next → 2.7.0-alpha1
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.