mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged HEAD (5.1) to 5.1.N (5.1.1)
119450 mcozma: Merged BRANCHES/DEV/VF_REP_INT_51 to HEAD ACE-4716 Can't rename a document in a virtual context from CMIS ACE-4752 Type virtualization method does not work ACE-4717 Document name is renamed when making "Check in" for a document edited in Google Docs ACE-4700 Can't upload to a virtual folder when filename starts with a number and includes dashes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@119613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -72,7 +72,7 @@ public class PropertyValueConstraint extends VirtualQueryConstraintDecorator
|
||||
|
||||
}
|
||||
|
||||
private SearchParameters applyFTS(SearchParameters searchParameters)
|
||||
protected SearchParameters applyFTS(SearchParameters searchParameters)
|
||||
{
|
||||
SearchParameters constrainedParameters = searchParameters.copy();
|
||||
String theQuery = constrainedParameters.getQuery();
|
||||
@@ -80,7 +80,7 @@ public class PropertyValueConstraint extends VirtualQueryConstraintDecorator
|
||||
// TODO: introduce and use operator
|
||||
|
||||
theQuery = "(" + theQuery + ")" + " and " + "( " + "=" + property.toPrefixString(this.nspResolver) + ":"
|
||||
+ org.alfresco.util.ISO9075.encode(value.toString()) + " )";
|
||||
+"\""+value.toString() + "\" )";
|
||||
|
||||
constrainedParameters.setQuery(theQuery);
|
||||
|
||||
|
Reference in New Issue
Block a user