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 :
The above unit test should pass and maybe need additional tests according to the implementation.
Actual Results: throws this exception: