Bugzilla – Attachment 120819 Details for
Bug 28272
Definition files are missing additionalProperties: false
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28272: Add unseen_renewals for checkouts
Bug-28272-Add-unseenrenewals-for-checkouts.patch (text/plain), 1.77 KB, created by
Jonathan Druart
on 2021-05-11 07:27:40 UTC
(
hide
)
Description:
Bug 28272: Add unseen_renewals for checkouts
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-05-11 07:27:40 UTC
Size:
1.77 KB
patch
obsolete
>From 7ecd69e61f5ae310276c371813ec4938b7cd59ce Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 11 May 2021 09:26:38 +0200 >Subject: [PATCH] Bug 28272: Add unseen_renewals for checkouts > > t/db_dependent/api/v1/checkouts.t ...................... 7/93 > # Failed test '200 OK' > # at t/db_dependent/api/v1/checkouts.t line 198. > # got: '500' > # expected: '200' > > # Failed test 'exact match for JSON Pointer ""' > # at t/db_dependent/api/v1/checkouts.t line 198. > # Structures begin differing at: > # $got->{unseen_renewals} = Does not exist > # $expected->{unseen_renewals} = '0' > t/db_dependent/api/v1/checkouts.t ...................... 88/93 > # Failed test '200 OK' > # at t/db_dependent/api/v1/checkouts.t line 218. > # got: '500' > # expected: '200' > > # Failed test 'exact match for JSON Pointer ""' > # at t/db_dependent/api/v1/checkouts.t line 218. > # Structures begin differing at: > # $got->{max_renewals} = Does not exist > # $expected->{max_renewals} = '1' > # Looks like you failed 4 tests of 93. >--- > api/v1/swagger/definitions/allows_renewal.json | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/api/v1/swagger/definitions/allows_renewal.json b/api/v1/swagger/definitions/allows_renewal.json >index 9c40cedcdb0..4ee01d6f5bd 100644 >--- a/api/v1/swagger/definitions/allows_renewal.json >+++ b/api/v1/swagger/definitions/allows_renewal.json >@@ -12,6 +12,10 @@ > "current_renewals": { > "type": "integer", > "description": "Current used renewals" >+ }, >+ "unseen_renewals": { >+ "type": "integer", >+ "description": "Number of consecutive times the item was renewed without being seen" > }, > "error": { > "type": ["string", "null"], >-- >2.20.1
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 28272
:
120630
|
120673
|
120690
|
120801
|
120812
| 120819 |
120833
|
121182
|
121184