Count Criteria Query does not work as expected

Description

After analyzing MODNOTES-244, it was noticed that the root cause of the bug is in the folio-spring-base module.
toCountCriteria(String cql) method does not work as expected in Cql2JpaCriteria.class.

Steps to Reproduce:
To reproduce the bug just add below test to JpaCqlRepositoryTest.class and run this unit :

Expected Results:
The above unit test should pass and maybe need additional tests according to the implementation.

Actual Results: throws this exception:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Valery_Pilko September 23, 2022 at 6:56 AM

Verified in the scope of  MODNOTES-244

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Spitfire

Release

Nolana (R3 2022)

RCA Group

Lack of testing

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 19, 2022 at 12:25 PM
Updated October 20, 2022 at 9:28 AM
Resolved September 26, 2022 at 3:10 PM
TestRail: Cases
TestRail: Runs