[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
Mon Jun 10 23:21:59 CEST 2019


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

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #90405|0                           |1
        is obsolete|                            |
  Attachment #90411|0                           |1
        is obsolete|                            |

--- Comment #4 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 90466
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90466&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>

Signed-off-by: Liz Rea <wizzyrea at gmail.com>

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


More information about the Koha-bugs mailing list