Bug 9343

Summary: SIP doesn't handle debarred date/status correctly
Product: Koha Reporter: Adrien SAURAT <adrien.saurat>
Component: SIP2Assignee: Adrien SAURAT <adrien.saurat>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P5 - low CC: chris, colin.campbell, elliott, kyle
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: proposed patch
Bug 9343: handles the new format of Debarred
Bug 9343: handles the new format of Debarred
Bug 9343: handles the new format of Debarred [3.10.x]

Description Adrien SAURAT 2013-01-03 16:07:23 UTC
The SIP engine didn't evolve when the debarred status switched from a boolean to a date.

This needs to be fixed in C4/SIP/ILS/Patron.pm, where the $debarred variable, which should be filled as a boolean, gets the date instead.
Comment 1 Adrien SAURAT 2013-01-03 16:11:11 UTC Comment hidden (obsolete)
Comment 2 Kyle M Hall (khall) 2013-01-18 19:59:40 UTC Comment hidden (obsolete)
Comment 3 Elliott Davis 2013-01-18 20:19:27 UTC Comment hidden (obsolete)
Comment 4 Jared Camins-Esakov 2013-01-23 01:01:00 UTC
This patch has been pushed to master.
Comment 5 Chris Cormack 2013-02-01 08:28:04 UTC
Does not apply to 3.10.x please rebase if you will it to be that branch.
Comment 6 Kyle M Hall (khall) 2013-02-01 12:41:52 UTC
Created attachment 15000 [details] [review]
Bug 9343: handles the new format of Debarred [3.10.x]

The debarred status in DB switched from a boolean to a date.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Elliott Davis <elliott@bywatersolions.com>
Correctly pulls debared flag instead of debarment date.
Comment 7 Chris Cormack 2013-02-03 21:40:02 UTC
Pushed to 3.10.x will be in 3.10.3