Bug 21931: Do not reset the ES mapping on 3.23.00.050
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 Dec 2018 19:49:00 +0000 (16:49 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 14 Dec 2018 13:31:25 +0000 (13:31 +0000)
commite29f0bce403d5d7c1f292d57b105e0a2ab31e01d
tree4073226abbfb4aa620901d56bde0866f050fce96
parent702c727470d332615fb1428c55f503183935f29d
Bug 21931: Do not reset the ES mapping on 3.23.00.050

This update DB entry uses DBIx schema which does not make it crashes if
the table structure is changed.
Which happens on 18.06.00.054, that added search_field.weight

The entry 3.23.00.050 fails with
  Unknown column 'me.weight' in 'field list'

This patch removes the reset of the mapping and display a warning to
tell the administrator the mapping must be reset/inserted

Test plan:
Use a 3.22 dump and upgrade it

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
installer/data/mysql/updatedatabase.pl