'ERROR:Cannot read property 'cql' of undefined' is seen when applied 'omappad, odefinierad' filter

Description

This maybe an issue with bugfest environment setup.

Steps

  1. go to https://bugfest.folio.ebsco.com/

  2. go to inventory

  3. search for english

  4. 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...

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

4
  • 05 May 2020, 10:32 AM
  • 02 Aug 2019, 01:47 PM
  • 02 Aug 2019, 09:34 AM
  • 01 Aug 2019, 11:57 AM

Checklist

hide

TestRail: Results

Activity

Show:

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.

https://bugfest.folio.ebsco.com/inventory/view/64cc438d-f2a2-4ff8-94ed-5d4d55b2cb85?filters=language.eng%2Cresource.9228e131-9711-4c3f-82e7-6c5a31ae1356&sort=Title

I'll close the ticket.

Cate Boerema May 4, 2020 at 1:45 PM

Theodor Tolstoy (One-Group.se) August 11, 2019 at 10:48 AM
Edited

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 PM
Edited

Hi and - 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:

Cannot Reproduce

Details

Assignee

Reporter

Priority

Story Points

Development Team

Prokopovych

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 1, 2019 at 11:57 AM
Updated May 5, 2020 at 10:33 AM
Resolved May 5, 2020 at 10:33 AM
TestRail: Cases
TestRail: Runs

Flag notifications