[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 17:05:25 CEST 2023


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

Sam Lau <samalau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #153365|0                           |1
        is obsolete|                            |

--- Comment #3 from Sam Lau <samalau at gmail.com> ---
Created attachment 153369
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153369&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.

Signed-off-by: Sam Lau <samalau at gmail.com>

-- 
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