Issue (View Online)

Key: NXP-785
Issue Type: Bug Bug
Status: Open Open
Priority: Major Major
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:15   Created: 16/03/07 16:52  

The following issue has been updated.

Updater: Florent Guillaume
Date: 17/03/07 19:15
Comment:
(Please leave the time estimate to the developer doing the actual fix.)

Field Original Value New Value
Change By Florent Guillaume on 17/03/07 19:15
Fix Version/s 5.1 M2
Remaining Estimate 5 minutes
Original Estimate 5 minutes

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