[Koha-bugs] [Bug 24323] Advanced editor - Invalid 008 with helper silently fails to save

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 31 18:37:22 CET 2019


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

--- Comment #1 from Cori Lynn Arnold <carnold at dgiinc.com> ---
Created attachment 96723
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96723&action=edit
Bug 24323: Advanced editor - Invalid 008 with helper silently fails to save

This patch adds a "else if" to fall through if the error message isn't
one of the previously defined ones ("syntax" and "invalid") and presents
the human with a generic message that "Something went wrong, cannot
save."

Prior to testing:
a/Verify that Advanced Editor is enabled
b/Download the errorrecord.mrc from bug

To test:
1/Apply patch
2/Go to Cataloging->Advanced Editor
3/Click "Import Record" button and navigate to the record saved from
step b/
4/Add an 003 field (as required by the default cataloging config)
5/Hit "Save to catalog"
6/Verify that a message is passed to the user that the file was unable
to be saved

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


More information about the Koha-bugs mailing list