AnsweredAssumed Answered

maxItems issue

Question asked by mauro.lorenzutti on Jun 29, 2010
Hi All,

I'm working with "service/cmis/queries" webscript and I have a problem while implementing results pagination. I use the following xml to query the webscript:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cmis:query xmlns:cmis="">

I execute a query that provides 47 rows and this is what happens if I play with maxItems option:

- if maxItems==10 then I get the following (wrong) result:

- if maxItems==50 then I get the following (correct) result:

The error is related on the value of totalResults: in the case maxItems is minor then the total results then the value provided by the webscript is wrong.

I tried this on Alfresco Community - v3.2.0 (r2 2440).
I just checked in alfresco issues and forums but I didn't find any report about this problem…

Thank you in advance for any help you may give me.