https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15836
--- Comment #11 from Katrin Fischer <[email protected]> --- Hi Jonathan, we have tested the basic functionality and are happy about the results of the test button and the results in the generated PDF. We also found some issues: 1) There is an error if you try to edit an existing non-Regex splitting rule: Template process failed: undef error - malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/share/perl5/JSON.pm line 171. at /home/vagrant/kohaclone/C4/Templates.pm line 122 2) If you try to print the PDF for labels with ddc/loc splitting rule, there is also an error: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/share/perl5/JSON.pm line 171 We are not sure on how to solve the security issue. I think switching to TT would not be good in this case, as it would be harder do write and people would try to do more formatting that is probably not supported by the labels right now. Maybe an approach splitting the regex into muliple fields similar to the MARC modification templates GUI could work. Instead of hardcoding /ig, maybe a pull down? Open to your and others' suggestions. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
