[Koha-bugs] [Bug 33929] Cannot export genre/form authority framework

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 12 16:05:36 CEST 2023


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

--- Comment #2 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 153365
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153365&action=edit
Bug 33929: Resolved issue with "Export"/"Import" button click error

This patch addresses an error that occurred when clicking the "Export" button
within the genre/form authority framework (the same issue was observed with the
"Import" button). The error message displayed in the console was as follows:
"Uncaught Error: Syntax error, unrecognized expression:
#exportModal_GENRE/FFORM4"

The error was caused by special symbols, particularly the  "/" in the code of
the auth type. To fix this, the patch is using a plugin designed to handle
character filtering for HTML IDs,  "$HtmlId", instead of "html" that kept "/"
in "GENRE/FFORM4" which was causing this problem.

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


More information about the Koha-bugs mailing list