Bugzilla – Attachment 57607 Details for
Bug 17651
t/db_dependent/api/v1/patrons.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17651: borrowers.updated_on can be null - swagger def
Bug-17651-borrowersupdatedon-can-be-null---swagger.patch (text/plain), 1.31 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-11-17 16:03:30 UTC
(
hide
)
Description:
Bug 17651: borrowers.updated_on can be null - swagger def
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-11-17 16:03:30 UTC
Size:
1.31 KB
patch
obsolete
>From adfa09d90016faf8facd14d7bf3fd1e6f4be5c34 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 17 Nov 2016 15:12:01 +0000 >Subject: [PATCH] Bug 17651: borrowers.updated_on can be null - swagger def > >The swagger file does not consider borrowers.updated_on as a nullable >value, it should > >Test plan: >0/ Do not apply this patch >1/ update borrowers set updated_on=null; >2/ prove t/db_dependent/api/v1/patrons.t >=> Fail >3/ Apply this patch >4/ prove t/db_dependent/api/v1/patrons.t >=> green > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/definitions/patron.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json >index 84f298a..c93c4ba 100644 >--- a/api/v1/swagger/definitions/patron.json >+++ b/api/v1/swagger/definitions/patron.json >@@ -267,7 +267,7 @@ > "description": "produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'" > }, > "updated_on": { >- "type": "string", >+ "type": ["string", "null"], > "description": "time of last change could be useful for synchronization with external systems (among others)" > }, > "lastseen": { >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17651
:
57604
| 57607