AnsweredAssumed Answered

Calling Session.Query with Runtime error. Message: org.alfresco.repo.search.impl.querymodel.QueryModelException: 08123764 No query time mapping for property  ..., it should not be allowed in predicates

Question asked by cttuanit on Sep 23, 2016
Latest reply on Oct 3, 2016 by cttuanit

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

Outcomes