ClassCastException when using CMIS query with SCORE() function

Description

Description
Technical Description of the issue

Steps to reproduce

  1. Start ACS 6.2.1 or 6.2.2 with some documents.

  2. Connect to ACS with CMIS Workbench using AtomPub binding (http://<host>:<port>/alfresco/api/default/cmis/versions/1.1/atom).

  3. Run a query with SCORE() as a first (and not only column) that should return some results, e.g.:

Expected Behaviour
List of results is returned, ordered by the retrieved score

Observed Behaviour
No results are returned. An error message is thrown in CMIS workbench:

Alfresco log shows error from {{alfresco.opencmis.AlfrescoCmisServiceInterceptor}} (see attached log file).
Note that the same query executed from Alfresco Node Browser returns expected results.

Workaround
Change the query to

to receive expected results.

Environment

None

Testcase ID

None
Fixed

Assignee

Eva Vasquez

Reporter

Elisabeth Wetchy

Labels

None

Security Issue

None

Escalated By

CSM

Hot Fix Version

ACT Numbers

01016941

Regression Since

5.2.6

Premier Customer

None

Work Funnel End

None

Patch Attached

None

Dependent Version/s

None

Prioritization Score

None

Delivery Team

Customer Excellence

Bug Priority

Category 3

Components

Fix versions

Affects versions