[Koha-bugs] [Bug 3107] New: Creation of `permissions` table fails during installation

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Fri Apr 10 14:06:35 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3107

           Summary: Creation of `permissions` table fails during
                    installation
           Product: Koha
           Version: rel_3_0
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Installation (web-based installer)
        AssignedTo: henridamien at koha-fr.org
        ReportedBy: hui_nan at mail.ru
   Estimated Hours: 0.0


During the web-installation with ru-RU language creation of the `preference`
table fails. This leads to impossibility to set grained permissions to a user,
which in turn leads to the "Tools" page rendered empty.

Reason:

SQL-scripts are executed in alphabetic order. Thus permissions.sql is run
before user_flags.sql which violates foreign key constraint in `permissions`.

Solution:

Before 'make' do:

mv koha-3.00.01-stable/installer/data/mysql/ru-RU/mandatory/permissions.sql
koha-3.00.01-stable/installer/data/mysql/ru-RU/mandatory/userpermissions.sql

mv koha-3.00.01-stable/installer/data/mysql/ru-RU/mandatory/permissions.txt
koha-3.00.01-stable/installer/data/mysql/ru-RU/mandatory/userpermissions.txt


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list