Issue (View Online)

Key: NXP-785
Issue Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Thierry Delprat
Reporter: Frederic Thise
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
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: 16/03/07 16:52   Created: 16/03/07 16:52  

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

 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