mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
SEARCH-166:Filter queries should not be supported with CMIS QL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130507 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -283,6 +283,12 @@ public class SearchMapper
|
||||
{
|
||||
if (filterQueries != null && !filterQueries.isEmpty())
|
||||
{
|
||||
if (LANGUAGE_CMIS_ALFRESCO.equals(sp.getLanguage()))
|
||||
{
|
||||
throw new InvalidArgumentException(InvalidArgumentException.DEFAULT_MESSAGE_ID,
|
||||
new Object[] { ": filterQueries {} not allowed with cmis language" });
|
||||
}
|
||||
|
||||
for (FilterQuery fq:filterQueries)
|
||||
{
|
||||
ParameterCheck.mandatoryString("filterQueries query", fq.getQuery());
|
||||
|
Reference in New Issue
Block a user