CQL containing double quotes is rejected

Description

The CQL specifications at https://www.loc.gov/standards/sru/cql/ at and http://zing.z3950.org/cql/ma/cql-syntax.html (and more informally http://zing.z3950.org/cql/intro.html) all make it clear that query terms can be enclosed in double quotes.

But experimentally, it's apparent that the CQL handling in folio-vertx-lib does not support this. (I discovered this while trying variations in the query as part of my attempt to cope with the missing diagnostic described in MODSET-11.)

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Mike TaylorNovember 18, 2023 at 10:07 AM

Haha, that was total nonsense! I was sending to query to /ldp/config, not /settings/entries! That means the problems were in mod-ldp, not mod-settings — and mod-ldp does not even claim to support CQL!

I will close this issues as invalid. Sorry to have wasted everyone’s time.

Mike TaylorNovember 18, 2023 at 9:16 AM

This is really surprising, as it's apparent from https://github.com/folio-org/folio-vertx-lib/blob/36479621fdc1e2cf360a2382546245c49d9adf16/core/src/main/java/org/folio/tlib/postgres/impl/PgCqlQueryImpl.java#L26 that folio-vertx-lib uses the standard CQL parser. So perhaps there is some other factor at play here. What's definitely true is that mod-settings, which uses folio-vertx-lib, accepts the query key==dbinfo but rejects key=="dbinfo".

Won't Do

Details

Assignee

Reporter

Priority

Development Team

None

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created November 18, 2023 at 9:04 AM
Updated November 18, 2023 at 10:07 AM
Resolved November 18, 2023 at 10:07 AM
TestRail: Cases
TestRail: Runs

Flag notifications