From 54fd55d6b3c3b35418ec70d7a251cb7cdf12d3ce Mon Sep 17 00:00:00 2001 From: Brian Remmington Date: Wed, 6 Oct 2010 21:27:49 +0000 Subject: [PATCH] WebQS: - ALF-4977 Wildcard search leads to error (WCMQS) - added '&' to the list of stripped-out characters - Creation of a section now causes the creation of three collections by default (configurable) - CMIS query parser now allows ordering by property defined on an aspect git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/cmis/search/CMISQueryParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/cmis/search/CMISQueryParser.java b/source/java/org/alfresco/cmis/search/CMISQueryParser.java index 2f2c49a5c3..1d383f8b7e 100644 --- a/source/java/org/alfresco/cmis/search/CMISQueryParser.java +++ b/source/java/org/alfresco/cmis/search/CMISQueryParser.java @@ -763,7 +763,7 @@ public class CMISQueryParser } } - CMISTypeDefinition typeDef = cmisDictionaryService.findTypeForClass(selector.getType(), CMISScope.DOCUMENT, CMISScope.FOLDER); + CMISTypeDefinition typeDef = cmisDictionaryService.findTypeForClass(selector.getType(), CMISScope.DOCUMENT, CMISScope.FOLDER, CMISScope.POLICY); if (typeDef == null) { throw new CMISQueryException("Type unsupported in CMIS queries: " + selector.getAlias()); @@ -832,7 +832,7 @@ public class CMISQueryParser } } - CMISTypeDefinition typeDef = cmisDictionaryService.findTypeForClass(selector.getType(), CMISScope.DOCUMENT, CMISScope.FOLDER); + CMISTypeDefinition typeDef = cmisDictionaryService.findTypeForClass(selector.getType(), CMISScope.DOCUMENT, CMISScope.FOLDER, CMISScope.POLICY); if (typeDef == null) { throw new CMISQueryException("Type unsupported in CMIS queries: " + selector.getAlias());