'ERROR:Cannot read property 'cql' of undefined' is seen when applied 'omappad, odefinierad' filter
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
- 05 May 2020, 10:32 AM
- 02 Aug 2019, 01:47 PM
- 02 Aug 2019, 09:34 AM
- 01 Aug 2019, 11:57 AM
relates to
Checklist
hideTestRail: Results
Activity
Charlotte Whitt May 5, 2020 at 10:33 AM
This bug seams related to `bugfest_q3.1.2019` - and I can not reproduce it in the current version of Bugfest - https://bugfest.folio.ebsco.com/
The resource type 'omappad, odefinerad' does not exist in Bugfest Q1 2020 version, so then I did the combination: Language: English, Resource type: Other. All works fine.
I'll close the ticket.
Cate Boerema May 4, 2020 at 1:45 PM
Fix should be the same as https://folio-org.atlassian.net/browse/UIU-1596#icft=UIU-1596
Theodor Tolstoy (One-Group.se) August 11, 2019 at 10:48 AMEdited
I see you sorted it out without me.
The key solution sure makes sense to me. Code for End-user-display and key for the technical stuff.
Zak Burke August 2, 2019 at 3:07 PM
Sorry, I think the cut-and-paste from the RFC was unclear. Pipe is not unreserved and never has been. The original unreserved characters are
= - _ . ! ~ * ' ( )
and the current unreserved characters are
- . _ ~
Note that the comma was never technically available. It works fine because we're exploiting a loophole, not because it's a legit option. If we can tolerate percent-encoding the URL, then we can use essentially anything we want, but if we want clean looking URLs I strongly recommend sticking to these lists with preference to the latter. Also, it would be fine to use a multi-character delimiter, e.g !!
or ___
, if we are concerned about individual characters showing up in the values.
Finally, what about using the key
attribute instead of the name attribute and restricting the value to letters and numbers?
Charlotte Whitt August 2, 2019 at 1:48 PMEdited
Hi @Khalilah Gambrell and @Zak Burke - I think we can use pipe – but please note that | sometimes is used as MARCtag subfield delimiter - so this might give us a value problem when we later have MARCcat in the FOLIO environment:
This maybe an issue with bugfest environment setup.
Steps
go to https://bugfest.folio.ebsco.com/
go to inventory
search for english
under 'resource type' choose 'omappad, odefinierad' filter
Expected result
when applied 'omappad, odefinierad' filter, relevant results must be displayed..
Actual result
'ERROR:Cannot read property 'cql' of undefined' is seen when applied 'omappad, odefinierad' filter.. as instructed on page, refreshing the page does not help too...