[Koha-bugs] [Bug 15814] Templates for MARC modification: Edit action does not work when Description contains '

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 30 04:36:50 CEST 2019


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

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 90196
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90196&action=edit
Bug 15814: Handle correctly MMTA edit button

The MARC modification template action edit buton does not correctly
handle variable escaping.
Assigning a JS variable containing the JSON representation of the
hashref will make the processing much more easier.

Test plan:
Create a MARC Modification Template with several actions.
In the description you should use the following characters, to try to
break this patch: \ ' " \n \r
(not sure what we handled \n and \r)
Then edit the action, modify and save again.

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


More information about the Koha-bugs mailing list