[Koha-bugs] [Bug 23045] Advanced cataloging editor (rancor) throws a JS error when lines deleted by macros
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 7 08:15:39 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23045
Claire Gravely <claire_gravely at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #90320|0 |1
is obsolete| |
--- Comment #2 from Claire Gravely <claire_gravely at hotmail.com> ---
Created attachment 90405
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90405&action=edit
Bug 23045: TextMarc errors on blank lines
Since bug 16251 we use TextMarc to get some record fields, however, it throws
an error when
processing blank lines.
We should just pass on these rather then erroring
To test:
1 - Define a new macro that delete more fields than it adds
delete 245
2 - Run it
3 - Note an error in JS console, and helpers will not load
4 - Apply patch
5 - Reload, try again
6 - No error
Signed-off-by: Claire Gravely <claire.gravely at bsz-bw.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list