Created attachment 152064 [details] Console error screenshot Hi, There is an error when clicking the "Export" button of the genre/form authority framework (it also happens with the "Import" button). I'm attaching a screenshot with the web console message. I'm using version 22.11.06 Thanks, Alejo
Confirmed in master as well.
Created attachment 153365 [details] [review] 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.
Created attachment 153369 [details] [review] 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@gmail.com>
There is no error now, but the file is incomplete. Only the header and some 2 more lines with #-# in the CSV export (7 lines total). Other frameworks export fine. Please include a test plan in your commit message.
Still valid on master
Would it be simpler, and maybe faster, to rename the Genre Authority type without the special character? Is there a reason it needs to have it?