[Bug 21666] New: Advanced editor search- error is given for “Unsupported Use attribute” when searching on title + author
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Bug ID: 21666 Summary: Advanced editor search- error is given for “Unsupported Use attribute” when searching on title + author Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: carnold@dgiinc.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Created attachment 81168 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81168&action=edit Error is given for “Unsupported Use attribute” In the advanced cataloging interface, searching LOC and Seattle Public Library for author "Feeney" and title "Sometimes I Lie" results in a record from LOC and "Unsupported Use attribute" error from SPL. (see figure 1 in attached doc) However, the same search using the button "New from Z39.50/SRU" from the basic cataloging interface results in records from LOC and SPL. (see figure 2 in attached doc) -- 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=21666 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Let's see... The Advanced Editor in cataloguing defines its search attributes in "./koha-tmpl/intranet-tmpl/lib/koha/cateditor/search.js". Title = 1=4 Author = 1=1004 The "New from Z39.50/SRU" defines its attributes in "C4/Breeding.pm". Title = @attr 1=4 Author = @attr 1=1003 We can see the full list of attributes at https://www.loc.gov/z3950/agency/defns/bib1.html#use We can see LOC's supported attributes at http://www.loc.gov/z3950/lcserver.html (which includes 1003 and 1004). I don't see any information about SPL's supported attributes or Z39.50 set up. However, it seems to me that 1004 is an odd choice. I think 1003 tends to be more widely supported. -- 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=21666 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- Created attachment 81249 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81249&action=edit Bug 21666: Replace unsupported use attribute with more widely supported attribute search.js uses the 1=1004 author personal attribute which isn't supported by libraries like Seattle Public Library. This patch aligns search.js with C4/Breeding.pm which uses the more widely supported 1=1003 author attribute. To test: 1. Set up Seattle Public Library as a Z39.50 target 2. Try to search author using the Advanced Editor advanced search 3. Observe failure 4. Apply the patch 5. Try to search again 6. Observe successful retrieval of records -- 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=21666 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Advanced editor search- |Advanced editor search- |error is given for |error is given for |“Unsupported Use attribute” |'Unsupported Use attribute' |when searching on title + |when searching on title + |author |author -- 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=21666 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81249|0 |1 is obsolete| | --- Comment #3 from David Cook <dcook@prosentient.com.au> --- Created attachment 81250 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81250&action=edit Bug 21666: Replace unsupported use attribute with more widely supported attribute search.js uses the 1=1004 author personal attribute which isn't supported by libraries like Seattle Public Library. This patch aligns search.js with C4/Breeding.pm which uses the more widely supported 1=1003 author attribute. To test: 1. Set up Seattle Public Library as a Z39.50 target 2. Try to search author using the Advanced Editor advanced search 3. Observe failure 4. Apply the patch 5. Try to search again 6. Observe successful retrieval of records -- 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=21666 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de Status|NEW |Needs Signoff Assignee|koha-bugs@lists.koha-commun |dcook@prosentient.com.au |ity.org | --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Switching to 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=21666 --- Comment #5 from David Cook <dcook@prosentient.com.au> --- (In reply to Katrin Fischer from comment #4)
Switching to Needs Signoff.
Thanks, Katrin. I usually use git-bz but the title of this bug used to have non-ASCII characters in it which caused the git-bz editor to fail. Thanks for following that up. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81250|0 |1 is obsolete| | --- Comment #6 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 81502 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81502&action=edit Bug 21666: Replace unsupported use attribute with more widely supported attribute search.js uses the 1=1004 author personal attribute which isn't supported by libraries like Seattle Public Library. This patch aligns search.js with C4/Breeding.pm which uses the more widely supported 1=1003 author attribute. To test: 1. Set up Seattle Public Library as a Z39.50 target 2. Try to search author using the Advanced Editor advanced search 3. Observe failure 4. Apply the patch 5. Try to search again 6. Observe successful retrieval of records Signed-off-by: Cori Lynn Arnold <carnold@dgiinc.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Cori Lynn Arnold <carnold@dgiinc.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81502|0 |1 is obsolete| | --- Comment #7 from Josef Moravec <josef.moravec@gmail.com> --- Created attachment 81532 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81532&action=edit Bug 21666: Replace unsupported use attribute with more widely supported attribute search.js uses the 1=1004 author personal attribute which isn't supported by libraries like Seattle Public Library. This patch aligns search.js with C4/Breeding.pm which uses the more widely supported 1=1003 author attribute. To test: 1. Set up Seattle Public Library as a Z39.50 target 2. Try to search author using the Advanced Editor advanced search 3. Observe failure 4. Apply the patch 5. Try to search again 6. Observe successful retrieval of records Signed-off-by: Cori Lynn Arnold <carnold@dgiinc.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Josef Moravec <josef.moravec@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josef.moravec@gmail.com QA Contact|testopia@bugs.koha-communit |josef.moravec@gmail.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Addming my sign-off too - seeing now why my git-bz attach just failed :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81532|0 |1 is obsolete| | --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 81533 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81533&action=edit Bug 21666: Replace unsupported use attribute with more widely supported attribute search.js uses the 1=1004 author personal attribute which isn't supported by libraries like Seattle Public Library. This patch aligns search.js with C4/Breeding.pm which uses the more widely supported 1=1003 author attribute. To test: 1. Set up Seattle Public Library as a Z39.50 target 2. Try to search author using the Advanced Editor advanced search 3. Observe failure 4. Apply the patch 5. Try to search again 6. Observe successful retrieval of records Signed-off-by: Cori Lynn Arnold <carnold@dgiinc.com> Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 --- Comment #10 from Josef Moravec <josef.moravec@gmail.com> --- (In reply to Katrin Fischer from comment #8)
Addming my sign-off too - seeing now why my git-bz attach just failed :)
Sorry Katrin ;) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Nick Clemens <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |nick@bywatersolutions.com --- Comment #11 from Nick Clemens <nick@bywatersolutions.com> --- Awesome work all! Pushed to master for 18.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |martin.renvoize@ptfs-europe | |.com --- Comment #12 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Pushed to 18.05.x for 18.05.06 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21666 Fridolin SOMERS <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m Resolution|--- |FIXED Status|Pushed to Stable |RESOLVED --- Comment #13 from Fridolin SOMERS <fridolin.somers@biblibre.com> --- Pushed to 17.11.x for 17.11.13 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org