Issue (View Online)

Key: NXP-1371
Issue Type: Bug Bug
Status: Resolved Resolved
Priority: Major Major
Resolution: Fixed
Assignee: Julien Anguenot
Reporter: Sergey Zhemzhitskiy

Operations

View all
View comments
View history
Error when using remote api to search documents and size of the result set of documents is less than page size 
Updated: 09/08/07 15:21   Created: 20/07/07 15:17  

The following issue has been resolved as FIXED.

Author: Julien Anguenot
Date: 09/08/07 15:21
Comment:
The problem does not appear anymore on trunk version. because we use our own pagination system on higher level.

See this example where the search matches 3 documents with page size = 2

http://svn.nuxeo.org/trac/nuxeo/browser/sandbox/nuxeo-api-sample/trunk/src/main/java/org/nuxeo/ecm/sample/search/SearchSample.java

Though, I'll update compass for 5.2 since that's not possible right now because we got an unresolved Lucene version conflict with jackrabbit.

Project: Nuxeo Enterprise Platform 5
Affects Versions: 5.1 M3
Fix Versions: 5.1.0.GA

 Description   
When trying to search documents using the remote api and size of the result list of documents is less than page size I get the following:
javax.ejb.EJBException: java.lang.IllegalArgumentException: Can't preload with negative from [-5]
 
May be this issue is related to http://jira.compassframework.org/browse/CMP-386?

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.10-260 - 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