]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 2 Jan 2019 10:02:50 +0000 (11:02 +0100)
commitaa0bd18ff1c098a5becaf936d0f187dfec45fa46
tree0b8228cbc30f8211b7fdb28b110f19ad8845356e
parentb74f4e9cce345801a062d81ea7e0dc5a697f975a
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>
(cherry picked from commit e29f0bce403d5d7c1f292d57b105e0a2ab31e01d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 1fdc679955feb2357c8e897040f9d29cc3df930d)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b89e7f3a2741390ca1acf7f254f058883d7b957c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
installer/data/mysql/updatedatabase.pl