[Bug 33929] New: Cannot export genre/form authority framework
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Bug ID: 33929 Summary: Cannot export genre/form authority framework Change sponsored?: --- Product: Koha Version: 22.11 Hardware: PC OS: Windows Status: NEW Severity: enhancement Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: alejojanin@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Created attachment 152064 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152064&action=edit 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 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Hardware|PC |All OS|Windows |All Version|22.11 |master --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Confirmed in master as well. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Peter Vashchuk <stalkernoid@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 --- Comment #2 from Peter Vashchuk <stalkernoid@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Sam Lau <samalau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Sam Lau <samalau@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #153365|0 |1 is obsolete| | --- Comment #3 from Sam Lau <samalau@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@gmail.com> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |katrin.fischer@bsz-bw.de |y.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|katrin.fischer@bsz-bw.de |testopia@bugs.koha-communit | |y.org -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caroline.cyr-la-rose@inlibr | |o.com --- Comment #5 from Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> --- Still valid on master -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33929 Esther Melander <esther.melander@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |esther.melander@bywatersolu | |tions.com --- Comment #6 from Esther Melander <esther.melander@bywatersolutions.com> --- 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? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org