Issue (View Online)

Key: NXP-785
Issue Type: Bug Bug
Status: Resolved Resolved
Priority: Major Major
Resolution: Fixed
Assignee: Florent Guillaume
Reporter: Frederic Thise
Environment: Windows Xp SP2, JBoss 4.0.4 GA

Operations

View all
View comments
View history
filter cannot be null in case of querySimpleFts 
Updated: 17/03/07 19:29   Created: 16/03/07 16:52  

The following issue has been resolved as FIXED.

Project: Nuxeo Enterprise Platform 5
Components: Core
Affects Versions: 5.1 M1
Fix Versions: 5.1 M2

 Description   
If you use "querySimpleFts" with a null filter, you will never receive any results because the method tests "if filter is not null and filter.accept returns true" to add the DocumentModel in the result list. This is not the case with the "query" method (the method adds the DocumentModel to the result list "if filter is null OR filter.accept returns true").

affected class: org.nuxeo.ecm.core.api.AbstractSession
affected method:querySimpleFts(String keywords, Filter filter)

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to