09-23-2016 04:46 AM
Hi All,
I got an issue whenever my system calling query bellow in order to search document on Alfresco. I was wondering if there is anyone has the same experience and solution for this issue?
Snippet
var result = this.Session.Query(query, filter.IsSearchAllVersions,
new OperationContext()
{
OrderBy = filter.OrderBy,
MaxItemsPerPage = filter.MaxItemsPerPage,
FilterString = filter.Filter
});
Error message:
Runtime error. Message: org.alfresco.repo.search.impl.querymodel.QueryModelException: 08123764 No query time mapping for property ..., it should not be allowed in predicates
"StackTrace":"
at DotCMIS.Binding.WebServices.DiscoveryService.Query(String repositoryId, String statement, Nullable`1 searchAllVersions, Nullable`1 includeAllowableActions, Nullable`1 includeRelationships, String renditionFilter, Nullable`1 maxItems, Nullable`1 skipCount, IExtensionsData extension)
at DotCMIS.Client.Impl.Session.\u003c\u003ec__DisplayClass13.\u003cQuery\u003eb__12(Int64 maxNumItems, Int64 skipCount)
at DotCMIS.Client.Impl.PageFetcher`1.FetchNextPage(Int64 skipCount)
at DotCMIS.Client.Impl.AbstractEnumerator`1.GetCurrentPage()
Thanks
09-24-2016 06:37 AM
The query engine can not parse your query correctly ,It seems you give the wrong property name string (...), you 'd better paste out your query string.
09-24-2016 06:37 AM
The query engine can not parse your query correctly ,It seems you give the wrong property name string (...), you 'd better paste out your query string.
10-03-2016 04:37 AM
Thank you for your information. It was really helpful.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.