]> git.koha-community.org Git - koha.git/commit
Bug 14427: Use Koha::version instead of C4::Context->KOHAVERSION
authorMark Tompsett <mtompset@hotmail.com>
Fri, 19 Jun 2015 18:00:13 +0000 (14:00 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 14 Jul 2015 00:04:33 +0000 (12:04 +1200)
commitbec1614a10a432a8770df0c0f07fd478868ffe61
tree78bdd407167cca854dd284fcabcc164a7b163d76
parent3f92b5e38114572722b983961a1defc0a663989e
Bug 14427: Use Koha::version instead of C4::Context->KOHAVERSION

While testing bug 9006, I discovered this gem in
installer/install.pl

TEST PLAN
---------
 1) back up DB
 2) drop db and create db
 3) git reset --hard origin/3.20.x
 4) run web installer and all sample data
 5) git reset --hard origin/master
 6) empty your koha intranet error log
 7) run web installer to upgrade
    -- there will be warnings regarding regex around
       installer/install.pl line 328 or so.
       grep "\$kohaversion" ~/koha-dev/var/logs/koha-error_log
 8) repeat steps 2-6
 9) apply this patch
10) run web installer to upgrade
    -- no regex warnings.
       grep "\$kohaversion" ~/koha-dev/var/logs/koha-error_log
11) koha qa test tools

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 5f3ec7109321f8e928371880e473e84d8db39f8d)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
installer/install.pl