Bug 21651: Always insert notice templates related tables
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Oct 2018 20:02:39 +0000 (17:02 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 15 May 2019 15:47:15 +0000 (15:47 +0000)
commit990cc79ef085b74764cd68875fc0fd6dc6da8ffe
treedf089d484ea9f6ebc21d9fd58698b3fe4312644f
parent1114ba929f0aa634d6f9c10d8931c2ca25871c7d
Bug 21651: Always insert notice templates related tables

The 3 following files must be mandatory and insert during the install process:
- message_transport_types.sql
- sample_notices_message_attributes.sql
- sample_notices_message_transports.sql

They insert data for
- message_transport_types
- message_attributes
- message_transport_type

Otherwise the notice templates (table letter) will fail.

Moreover these 3 files are identical and are put in several places (1 per language)
to make the description translatable (using the related .txt file)

Test plan:
- Install Koha in English and in another language
- Select all the sample data
=> They all should be inserted correctly

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Installer.pm