[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
Tue Jun 11 19:10:02 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15814
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #90196|0 |1
is obsolete| |
--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 90511
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90511&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.
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list