Future backdates fail to clear in checkin

Bug #1481036 reported by Bill Erickson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.7
Fix Released
Undecided
Unassigned
2.8
Fix Released
Undecided
Unassigned

Bug Description

Evergreen 2.8, affects all versions.

See bug #1016204 for original change.

If a backdate is determined to be in the future, Evergreen is supposed to clear the backdate and ignore it. As it stands though, the backdate is not cleared. This results in checkin_time / stop_fines_time values using the backdate date value and 00:00:00 as the time.

To reproduce in srfsh:

request open-ils.circ open-ils.circ.checkin "AUTHTOKEN", {"barcode":"COPY-BARCODE","backdate":"2020-01-01"}

This will result in a backdate of "2020-01-01 00:00:00"

Patch en route.

Revision history for this message
Bill Erickson (berick) wrote :
tags: added: checkin pullrequest
Changed in evergreen:
milestone: none → 2.9-alpha
assignee: Bill Erickson (berick) → nobody
Revision history for this message
Bill Erickson (berick) wrote :

Pushed a live test to verify functionality.

Changed in evergreen:
milestone: 2.9-alpha → 2.9-beta
Revision history for this message
Ben Shum (bshum) wrote :

Fix pushed to master and backported to rel_2_8 and rel_2_7.

Changed in evergreen:
status: New → Fix Committed
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.