Bug 12267: [QA Follow-up] Adjust installer files; tiny text edit
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 22 Apr 2016 09:27:58 +0000 (11:27 +0200)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Fri, 22 Apr 2016 23:08:32 +0000 (23:08 +0000)
Some installer files still refer to password_allowed.
The print statement of the db revision has been slightly adjusted.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_12267.perl
installer/data/mysql/de-DE/optional/patron_atributes.sql
installer/data/mysql/en/optional/patron_atributes.sql
installer/data/mysql/es-ES/optional/patron_atributes.sql
installer/data/mysql/ru-RU/optional/patron_atributes.sql
installer/data/mysql/uk-UA/optional/patron_atributes.sql

index de48b51..2ba00f9 100644 (file)
@@ -6,7 +6,7 @@ my ( $column_has_been_used ) = $dbh->selectrow_array(q|
 |);
 
 if ( $column_has_been_used ) {
-    warn q|WARNING: The columns borrower_attribute_types.password_allowed and borrower_attributes.column have been removed from the Koha codebase. There were not used. However your installation has at least 1 borrower_attributes.password defined. In order not to alter your data, the columns have been kept, please remove them manually if you do not use them this feature.|;
+    print q|WARNING: The columns borrower_attribute_types.password_allowed and borrower_attributes.password have been removed from the Koha codebase. They were not used. However your installation has at least one borrower_attributes.password defined. In order not to alter your data, the columns have been kept, please save the information elsewhere and remove these columns manually.|;
 } else {
     $dbh->do(q|
         ALTER TABLE borrower_attribute_types DROP column password_allowed
index 35d61cb..861d830 100644 (file)
@@ -1,2 +1,2 @@
-INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`)
-VALUES ('SHOW_BCODE',  'Zeige den Barcode in der Exemplarübersicht', 0, 0, 1, 0, 0, 'YES_NO');
+INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`)
+VALUES ('SHOW_BCODE',  'Zeige den Barcode in der Exemplarübersicht', 0, 0, 1, 0, 'YES_NO');
index 17d7b8a..ba929bc 100644 (file)
@@ -1,2 +1,2 @@
-INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`)
-VALUES ('SHOW_BCODE',  'Show barcode on the summary screen items listings', 0, 0, 1, 0, 0, 'YES_NO');
+INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`)
+VALUES ('SHOW_BCODE',  'Show barcode on the summary screen items listings', 0, 0, 1, 0, 'YES_NO');
index 17d7b8a..ba929bc 100644 (file)
@@ -1,2 +1,2 @@
-INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`)
-VALUES ('SHOW_BCODE',  'Show barcode on the summary screen items listings', 0, 0, 1, 0, 0, 'YES_NO');
+INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`)
+VALUES ('SHOW_BCODE',  'Show barcode on the summary screen items listings', 0, 0, 1, 0, 'YES_NO');
index 7b3d8a8..55a7cca 100644 (file)
@@ -1,17 +1,14 @@
 TRUNCATE borrower_attribute_types;
 
-INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`) VALUES
-('EDUCATION',  'Образование',                            1, 0, 1, 0, 1, ''),
-('EDU_INST',   'Учебное заведение',                      1, 0, 1, 0, 1, ''),
-('ETHNICITY',  'Этническая принадлежность',              0, 0, 1, 0, 1, ''),
-('ETHNICNOTE', 'Замечания по этнической принадлежности', 0, 0, 1, 0, 1, ''),
-('IDLDAP',     'Идентификатор LDAP',                     0, 0, 0, 0, 1, ''),
-('NATIONAL',   'Национальность',                         0, 0, 1, 0, 0, ''),
-('PASSP_NO',   'Серия и номер паспорта',                 0, 0, 0, 0, 0, ''),
-('PAS_IS_DAT', 'Когда выдан паспорт',                    0, 0, 0, 0, 0, ''),
-('PAS_IS_ORG', 'Где выдан паспорт',                      0, 0, 0, 0, 0, ''),
-('PATRONYMIC', 'Отчество',                               0, 0, 1, 0, 1, ''),
-('PROFESSION', 'Профессия',                              1, 0, 1, 0, 1, '');\r
-
--- ('PASSP_NO',   'Номер паспорта',                         0, 0, 0, 0, 0, ''),
--- ('PASSP_PREF', 'Серия паспорта',                         0, 0, 0, 0, 0, ''),  
+INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`) VALUES
+('EDUCATION',  'Образование',                            1, 0, 1, 1, ''),
+('EDU_INST',   'Учебное заведение',                      1, 0, 1, 1, ''),
+('ETHNICITY',  'Этническая принадлежность',              0, 0, 1, 1, ''),
+('ETHNICNOTE', 'Замечания по этнической принадлежности', 0, 0, 1, 1, ''),
+('IDLDAP',     'Идентификатор LDAP',                     0, 0, 0, 1, ''),
+('NATIONAL',   'Национальность',                         0, 0, 1, 0, ''),
+('PASSP_NO',   'Серия и номер паспорта',                 0, 0, 0, 0, ''),
+('PAS_IS_DAT', 'Когда выдан паспорт',                    0, 0, 0, 0, ''),
+('PAS_IS_ORG', 'Где выдан паспорт',                      0, 0, 0, 0, ''),
+('PATRONYMIC', 'Отчество',                               0, 0, 1, 1, ''),
+('PROFESSION', 'Профессия',                              1, 0, 1, 1, '');
index ab42bc7..a2ad5d1 100644 (file)
@@ -1,17 +1,14 @@
 TRUNCATE borrower_attribute_types;
 
-INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`) VALUES
-('EDUCATION',  'Освіта',                               1, 0, 1, 0, 1, ''),
-('EDU_INST',   'Учбовий заклад',                       1, 0, 1, 0, 1, ''),
-('ETHNICITY',  'Етнічна приналежність',                0, 0, 1, 0, 1, ''),
-('ETHNICNOTE', 'Примітки щодо етнічної приналежності', 0, 0, 1, 0, 1, ''),
-('IDLDAP',     'Ідентифікатор LDAP',                   0, 0, 0, 0, 1, ''),
-('NATIONAL',   'Національність',                       0, 0, 1, 0, 0, ''),
-('PASSP_NO',   'Серія та номер паспорта',              0, 0, 0, 0, 0, ''),
-('PAS_IS_DAT', 'Коли видано паспорт',                  0, 0, 0, 0, 0, ''),
-('PAS_IS_ORG', 'Де видано паспорт',                    0, 0, 0, 0, 0, ''),
-('PATRONYMIC', 'По батькові',                          0, 0, 1, 0, 1, ''),
-('PROFESSION', 'Професія',                             1, 0, 1, 0, 1, '');\r
-  
--- ('PASSP_NO',   'Номер паспорта',                       0, 0, 0, 0, 0, ''),
--- ('PASSP_PREF', 'Серія паспорта',                       0, 0, 0, 0, 0, ''),  
+INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`) VALUES
+('EDUCATION',  'Освіта',                               1, 0, 1, 1, ''),
+('EDU_INST',   'Учбовий заклад',                       1, 0, 1, 1, ''),
+('ETHNICITY',  'Етнічна приналежність',                0, 0, 1, 1, ''),
+('ETHNICNOTE', 'Примітки щодо етнічної приналежності', 0, 0, 1, 1, ''),
+('IDLDAP',     'Ідентифікатор LDAP',                   0, 0, 0, 1, ''),
+('NATIONAL',   'Національність',                       0, 0, 1, 0, ''),
+('PASSP_NO',   'Серія та номер паспорта',              0, 0, 0, 0, ''),
+('PAS_IS_DAT', 'Коли видано паспорт',                  0, 0, 0, 0, ''),
+('PAS_IS_ORG', 'Де видано паспорт',                    0, 0, 0, 0, ''),
+('PATRONYMIC', 'По батькові',                          0, 0, 1, 1, ''),
+('PROFESSION', 'Професія',                             1, 0, 1, 1, '');