Bugzilla – Attachment 56055 Details for
Bug 17403
Internal Server Error while deleting patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17403: Internal Server Error while deleting patron
Bug-17403-Internal-Server-Error-while-deleting-pat.patch (text/plain), 1.25 KB, created by
Marc Véron
on 2016-10-05 13:47:33 UTC
(
hide
)
Description:
Bug 17403: Internal Server Error while deleting patron
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-10-05 13:47:33 UTC
Size:
1.25 KB
patch
obsolete
>From 6c05dff04c1c459991caf758108d165f72c39dad Mon Sep 17 00:00:00 2001 >From: Marc <veron@veron.ch> >Date: Wed, 5 Oct 2016 15:43:29 +0200 >Subject: [PATCH] Bug 17403: Internal Server Error while deleting patron > >This patch fixes a Internal Server Error while deleting patrons. > >To reproduce: > >- Go to a patron's detail page >- Toolbar : More : Delete >- Confirm "Are you sure you want to delete..." > >Result: Internal Server Error >Plack error log: >exited nonzero: 1 at /home/marc/koha/members/deletemem.pl >Note: Patron is deleted > >To test: > >- Apply patch >- Re-start plack >- Try to reproduce steps above (with other patron) >Expected result: >No Internal Server Error, Redirect to Home > Patrons >--- > members/deletemem.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/members/deletemem.pl b/members/deletemem.pl >index 60de8c0..801f57c 100755 >--- a/members/deletemem.pl >+++ b/members/deletemem.pl >@@ -165,7 +165,7 @@ if ( $op eq 'delete_confirm' or $countissues > 0 or $flags->{'CHARGES'} or $is_ > DelMember($member); > # TODO Tell the user everything went ok > print $input->redirect("/cgi-bin/koha/members/members-home.pl"); >- exit 1; >+ exit 0; # Exit without error > } > > output_html_with_http_headers $input, $cookie, $template->output; >-- >2.1.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 17403
:
56055
|
56057
|
56067
|
56186