Bugzilla – Attachment 76764 Details for
Bug 18822
Advanced editor - Rancor - searching broken under Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18822 - Better error response
Bug-18822---Better-error-response.patch (text/plain), 1.44 KB, created by
Katrin Fischer
on 2018-07-08 15:43:43 UTC
(
hide
)
Description:
Bug 18822 - Better error response
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-07-08 15:43:43 UTC
Size:
1.44 KB
patch
obsolete
>From df22787a61518650b22632e4b8f9fab70a2b29cb Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 19 Jun 2017 11:21:41 -0400 >Subject: [PATCH] Bug 18822 - Better error response > >Apply this patch first to see a change in the error feedback - instead >of [Object object] you should get a text readable error > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index 2a0e050..4f9a76a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -578,7 +578,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > invalidateSearchResults(); > Search.Reconnect(); > } else { >- humanMsg.displayMsg( '<h3>' + _("Internal search error") + '</h3><p>' + error + '</p><p>' + _("Please refresh the page and try again.") + '</p>', { className: 'humanError' } ); >+ humanMsg.displayMsg( '<h3>' + _("Internal search error") + '</h3><p>' + error.responseText + '</p><p>' + _("Please refresh the page and try again.") + '</p>', { className: 'humanError' } ); > } > } > >-- >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 18822
:
64431
|
64432
|
68803
|
68804
|
75561
|
76764
|
76765
|
76937
|
76938