Bug 12251: fix error in sample_notices.sql (es-ES)
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 13 May 2014 21:50:27 +0000 (18:50 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 16 May 2014 02:45:21 +0000 (02:45 +0000)
commit3da8c33b7766134ed4ad1c61224ec73760ed9d4a
tree921617d4051def4cb650e2c43ae9e95c6e18094f
parent648957ca8be72508307d94693792d216b7ae18a4
Bug 12251: fix error in sample_notices.sql (es-ES)

On bug 10845 some lines from sample_notices.sql were ommited when
adding the trailing parameter. This produces some errors when
installing using 'es-ES' sample data; and, in some conditions I
couldn't reproduce right now, occasional C4/NewsChannel.pm errors
due to mandatory message transport data incompletely loaded.

To reproduce:
- Make sure your setup has the es-ES translations installed and
  up-to-date (translation should raise lots of warnings)
- With a cleaned (DROP DATABASE ... ; CREATE DATABASE ...;) run the
  webinstaller
- Choose es-ES for the webinstaller.
- Follow the steps and choose all the sample data.
=> Errors related to sample_notices.sql and
   sample_notices_message_transports.sql show.

To fix:
- Apply this patch.
- Reset your DB (DROP DATABASE, CREATE DATABASE -- whatever method you prefer)
- Run the webinstaller using es-ES
- Follow the steps and choose all sample data.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
installer/data/mysql/es-ES/mandatory/sample_notices.sql