[Bug 23402] New: Similar to #19706: Item search doesn't work with screen selected
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23402 Bug ID: 23402 Summary: Similar to #19706: Item search doesn't work with screen selected Change sponsored?: --- Product: Koha Version: 18.11 Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: anke.bruns@gwdg.de QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com In our 18.11 Item search doesn't work with screen as selected output. Barcodes file and CSV do work. The following software error appears: "Unsupported format html at /usr/share/koha/intranet/cgi-bin/catalogue/itemsearch.pl line 42." Line 42 of the said file reads: if (defined $format and $format eq 'json') { Bug #19706 is said to be resolved prior to 18.11, still the error occurs (with line 42 instead of 41 mentioned). I found related to 19706 that it works well when there are some CCODEs for the library; even with a CCODE set, it doesn't work in my case. -- 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=23402 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Sometimes data can cause issues with the JSON based GUIs like the item search. A problem we recently ran into was backslashes in a publisher's name: We are hoping for this one to be pushed for 18.11 soon: Bug 21716 - Item Search hangs when \ exists in MARC fields But that usually jsut results in a "forever loading". Which is the exact 18.11.x version? I just tested with 18.11.6 and couldn't make it explode. -- 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=23402 --- Comment #2 from Anke <anke.bruns@gwdg.de> --- We had 18.11.03-1; just this morning we upgraded to 19.05, and the bug is still there. -- 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=23402 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |major --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Updating severity for now - getting some more attention to see if someone else can confirm the bug. -- 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=23402 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #4 from David Nind <david@davidnind.com> --- I ran a quick test on 19.05.02 and didn't get any error messages - I didn't specify a specific item, just got all the results. To test from /cgi-bin/catalogue/itemsearch.pl I didn't change any of the options pressed search button. A list of results appeared as expected. -- 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=23402 --- Comment #5 from David Nind <david@davidnind.com> --- Tested on master as well, and no error messages. -- 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=23402 --- Comment #6 from Anke <anke.bruns@gwdg.de> --- Update: It seems to be a bug in the German interface; in the English it works well. -- 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=23402 Anke <anke.bruns@gwdg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|18.11 |19.05 -- 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=23402 --- Comment #7 from Anke <anke.bruns@gwdg.de> --- Just updated the version for this bug from 18.11 to 19.05 - hope this was OK. -- 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=23402 Anke <anke.bruns@gwdg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion Severity|major |minor --- Comment #8 from Anke <anke.bruns@gwdg.de> --- Tried some demo installations from https://koha-community.org/demo/: - Español, Italian, French: Itemsearch works well - Swiss as well as "German" German: Itemsearch fails but returns a different error message from ours: "Internal Server Error" (see: http://koha.adminkuhn.ch:8080/). So the problem really seems to be only in the German interface. -- 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=23402 Anke <anke.bruns@gwdg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal --- Comment #9 from Anke <anke.bruns@gwdg.de> --- Set severity to Normal as it's limited to one language, hope that's OK? -- 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=23402 --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Anke from comment #9)
Set severity to Normal as it's limited to one language, hope that's OK?
Both resetting the version and that change are perfectly ok. Version should always be set to the newest the problem is found in, as any fix will be backported from there to older versions. It might be something got translated that should not have been - I will try to have a look - it's probably hiding in the source code somewhere. -- 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=23402 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |ASSIGNED --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Ah, be careful with the status "In Discussion" - we only use that when we can't agree on something and it can be a bit of a difficult one to get noticed again/get out of. Better to keep it in "NEW" until someone starts working on it. -- 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=23402 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW -- 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=23402 --- Comment #12 from Anke <anke.bruns@gwdg.de> --- (In reply to Katrin Fischer from comment #11)
Ah, be careful with the status "In Discussion" - we only use that when we can't agree on something and it can be a bit of a difficult one to get noticed again/get out of. Better to keep it in "NEW" until someone starts working on it.
OK, thanks for instructing me on this. I'll keep it in mind. -- 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=23402 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Summary|Similar to #19706: Item |Item search doesn't work |search doesn't work with |with screen selected |screen selected | --- Comment #13 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- This took me a while to figure out. The problem is in the translation: misc/translator/po/de-DE-staff-prog.po #. For the first occurrence, #. SCRIPT #: intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt:223 #: intranet-tmpl/prog/en/modules/reports/itemslost.tt:89 #, c-format msgid "Not for loan status" msgstr "Status für \"Nicht ausleihbar\"" This results in broken Javascript because of the added double quotes "": + ' <th id="items_status">' + _("Status für "Nicht ausleihbar"") + '</th>' I've fixed the files in Pootle, so the next released versions will not have this problem anymore. For an immediate fix: change the po file manually and remove the "" and reinstall de-DE. -- 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=23402 --- Comment #14 from Anke <anke.bruns@gwdg.de> --- Thanks - we changed the file, and now it works! -- 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=23402 --- Comment #15 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Glad to hear :) -- 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=23402 Michael Kuhn <mik@adminkuhn.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mik@adminkuhn.ch -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org