Bugzilla – Attachment 90784 Details for
Bug 23130
Incorrect alternative mana server URL in etc/koha-conf.xml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23130: Fix alternative mana server URL in etc/koha-conf.xml
Bug-23130-Fix-alternative-mana-server-URL-in-etcko.patch (text/plain), 2.92 KB, created by
Julian Maurice
on 2019-06-19 12:31:26 UTC
(
hide
)
Description:
Bug 23130: Fix alternative mana server URL in etc/koha-conf.xml
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2019-06-19 12:31:26 UTC
Size:
2.92 KB
patch
obsolete
>From eafc1d8be78bf6adabc2dcbb431c5419811cd080 Mon Sep 17 00:00:00 2001 >From: David <david@davidnind.com> >Date: Sat, 15 Jun 2019 01:43:39 +0000 >Subject: [PATCH] Bug 23130: Fix alternative mana server URL in > etc/koha-conf.xml > >If the alternative mana KB server URL in etc/koha-conf.xml is used it >causes an error message like 'malformed JSON string, neither tag, >array, object, number, string or atom, at character offset 0 (before >"<html>\r\n<head><tit...") at /usr/share/perl5/JSON.pm line 171.' when >submitting an account creation request, and the account creation >request fails. > >This patch updates the alternative mana KB server URL in >etc/koha-conf.xml from http://mana-test.koha-community.org to >https://mana-test.koha-community.org (the URL should start with https >instead of http). If the updated URL is used the account creation >request succeeds without causing any error messages. > >To test: >1) Add <mana_config>http://mana-test.koha-community.org</mana_config> to > /etc/koha/sites/<instancename>/koha-conf.xml (see etc/koha-conf.xml > in the Koha code repository for an example of where to add this; > <instancename> if using koha-testing-docker is kohadev). >2) Clear memcached and restart services so that the changes to your Koha > instance configuration are recognised (if using koha-testing-docker > run flush_memcached and then restart_all). >3) From the staff client home page go to Koha administration > > Additional parameters > Share content with Mana KB. >4) Enable content sharing: change 'Use Mana KB for sharing content' to > Yes and press Save. >5) Enter your first name, last name and email address in the Configure > Mana KB section of the page and then click on 'Send to Mana KB'. >6) An error message is displayed, this may be something like: > 'malformed JSON string, neither tag, array, object, number, string > or atom, at character offset 0 (before "<html>\r\n<head><tit...") at > /usr/share/perl5/JSON.pm line 171.' >7) Change the mana server URL to https://mana-test.koha-community.org > (see step 1), and repeat steps 2, 3 and 5. >8) Instead of an error message you should get 'You successfully created > your Mana KB account. Check your mailbox and follow instructions.' > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> >--- > etc/koha-conf.xml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/etc/koha-conf.xml b/etc/koha-conf.xml >index daec94d85c..fc7c7cfead 100644 >--- a/etc/koha-conf.xml >+++ b/etc/koha-conf.xml >@@ -154,7 +154,7 @@ __PAZPAR2_TOGGLE_XML_POST__ > <sms_send_config>__KOHA_CONF_DIR__/sms_send/</sms_send_config> > > <!-- URL of the mana KB server --> >- <!-- alternative value http://mana-test.koha-community.org to query the test server --> >+ <!-- alternative value https://mana-test.koha-community.org to query the test server --> > <mana_config>https://mana-kb.koha-community.org</mana_config> > > <!-- Configuration for Plack --> >-- >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 23130
:
90635
|
90707
| 90784