https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39526

--- Comment #9 from Jonathan Druart <[email protected]> ---
Created attachment 186689
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186689&action=edit
Bug 39526: Do not insert the pref if renamed

The upgrade DB must be idempotent
if run twice, the second pass fails with
DBI Exception: DBD::mysql::db do failed: Duplicate entry
'ElasticsearchPreventAutoTruncate' for key 'PRIMARY' at
/kohadevbox/koha/C4/Installer.pm line 825

We should not insert the pref if it has been renamed already.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to