[Koha-bugs] [Bug 22527] Web installer links to wrong database manual when database user doesn't have required privileges

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 16 17:22:00 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22527

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #87550|0                           |1
        is obsolete|                            |
  Attachment #87551|0                           |1
        is obsolete|                            |

--- Comment #10 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 88084
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88084&action=edit
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 <lari.taskula at hypernova.fi>

Sponsored-by: Hypernova Oy

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list