Bug 36418: Explicitly set response to json
To test: 1. Add some checkouts and load the issues-table 2. Select 'Check in' checkbox for that item and click "Check in selected items" 3. The row becomes read and reads "Unable to check in" 4. Reload the page, the item has actually checked in 5. Try the 'Renew' checkbox and click "Renew selected items" 6. It just spins and spins. 7. Reload the page, the item has actually renewed. 8. APPLY PATCH and restart_all 9. Try the steps again and this time everything should work properly. 10. tests these URLs http://localhost:8081/cgi-bin/koha/svc/recall http://localhost:8080/cgi-bin/koha/svc/club/enroll http://localhost:8081/cgi-bin/koha/svc/mana/increment : empty response Signed-off-by: Brendan Lawlor <blawlor@clamsnet.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1e6837aec1
commit
193b2c80dc
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ if ( $auth_status ne "ok" || $op ne "cud-checkin" ) {
|
|||
}
|
||||
|
||||
binmode STDOUT, ":encoding(UTF-8)";
|
||||
print $input->header( -type => 'text/plain', -charset => 'UTF-8' );
|
||||
print $input->header( -type => 'application/json', -charset => 'UTF-8' );
|
||||
|
||||
my $itemnumber = $input->param('itemnumber');
|
||||
my $borrowernumber = $input->param('borrowernumber');
|
||||
|
|
|
@ -40,7 +40,7 @@ if ( $auth_status ne "ok" ) {
|
|||
}
|
||||
|
||||
binmode STDOUT, ":encoding(UTF-8)";
|
||||
print $input->header( -type => 'text/plain', -charset => 'UTF-8' );
|
||||
print $input->header( -type => 'application/json', -charset => 'UTF-8' );
|
||||
|
||||
my $itemnumber = $input->param('itemnumber');
|
||||
my $borrowernumber = $input->param('borrowernumber');
|
||||
|
|
Loading…
Reference in a new issue