From 420e7bdb86c7cbf8b5ec5c7bcedfa9690c5bf3fc Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Tue, 16 Apr 2019 06:55:36 +0000 Subject: [PATCH] Bug 2527: web installer links to outdated DB manual To reproduce: 1. Use MySQL or MariaDB for your Koha installation 2. Create an empty database and point $KOHA_CONF to this database name. 3. Grant SELECT privilege to your database user, e.g. grant select on koha3.* to 'koha'@'%' identified by 'koha'; 4. Go to step 2 of web installer where it checks database connection 5. Observe the following message User koha doesn't have enough privilege on database koha. Ask for or make a change in the user's privileges. User koha must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database koha2. Need help? See manual for PostgreSQL 6. Note "See manual for PostgreSQL" is wrong. Should now read Need help? For help with granting permissions, please search online for "[% dbms %] manual grant permissions" of course the dbms should be the dbms you are using. 7. Apply patch, restart all 8. Refresh page and observe it now displays correct link Test plan and original patchset by Lari Taskula Sponsored-by: Hypernova Oy https://bugs.koha-community.org/show_bug.cgi?id=22527 --- koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt index 30a9209abb..27475f1f0f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt @@ -33,11 +33,7 @@

User [% user | $HtmlTags tag=>'code' %] doesn't have enough privilege on database [% dbname | $HtmlTags tag=>'code' %].

Ask for or make a change in the user's privileges. User [% user | $HtmlTags tag=>'code' %] must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database [% dbname | $HtmlTags tag=>'code' %].

-

Need help? See manual for [% IF ( mysql ) %] - MySQL - [% ELSE %] - PostgreSQL - [% END %] +

Need help? For help with granting permissions, please search online for "[% dbms %] manual grant permissions"

[% END %] [% ELSE %] -- 2.11.0