Bug 16401: System preference staffClientBaseURL hardcoded to 'http://'
authorJosef Moravec <josef.moravec@gmail.com>
Tue, 15 Aug 2017 15:23:00 +0000 (17:23 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Oct 2017 16:05:35 +0000 (13:05 -0300)
commit36c3d454262d814c2174483bec2a6a181c3fd3b0
treea1be0d4d0f1f90a14baf013595849caaa80b939a
parent7211fd22bad5b3a3939cca6fe766ee65a7c62b13
Bug 16401: System preference staffClientBaseURL hardcoded to ''

Test plan:
1) Insert some value to staffBaseURL preference, without starting http://
2) Apply the patch
3) Update database
4) Go to system preferences adminsitration, find the staffBaseURL
preference, the inserted value should be prepended with 'http://' and
the comment should be "This should be a complete URL, starting with
http:// or https://. Do not include a trailing slash in the URL. (This
must be filled in correctly for CAS, svc, and load_testing to work.)"
5) prove t/db_dependent/Auth_with_cas.t
6) prove t/db_dependent/selenium/basic_workflow.t
7) prove t/db_dependent/check_sysprefs.t

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_16401.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref
svc/import_bib
t/db_dependent/Auth_with_cas.t
t/db_dependent/selenium/basic_workflow.t