[Koha-bugs] [Bug 23093] Error during upgrade of OpacNavRight preference to Koha news

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 11 16:28:52 CEST 2019


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 90494
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90494&action=edit
Bug 23093: (bug 22318 follow-up) Use placeholders in query moving OpacNavRight

Placeholders must be used (!) in all SQL queries.

Test plan:
1/ % git checkout 0c95e22afe13349b60d134217fce6718bfa9727f # commit before bug
22318
2/ Edit the pref OpacNavRight with something with "
  just a " and more '
3/ git checkout master
4/ restart_all
5/ run updatedatabase.pl
=> Boom and the content of the pref has been lost
6/ Repeat 1 to 3
7/ Apply this patch
8/ run updatedatabase.pl
=> The pref has been correctly moved to opac_news

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list