[Ocs] possible bug in test server
mateu.batle at collabora.co.uk
Tue Aug 24 07:07:10 PDT 2010
I'd say whatever it is easier for client & server,
I think it might be easier to keep it as it is,
and define totalitems as the number of top level items.
On the other side, if the other way is preferred, I'd change the
structure of the response.
And don't return it as a tree, but a flat list with a parent comment id.
It would be easier to handle for the client,
and probably for the server (specially in multi page requests).
On 08/24/2010 06:11 AM, Frank Karlitschek wrote:
> Hi Mat,
> you are right. I will fix it.
> The commentsget call gives you a tree of the comments.
> Do you think "totalitems" should be the number of top level items or the complete number of comments in the tree?
> On 24.08.2010, at 02:59, Mateu Batle wrote:
>> Hi Frank,
>> I think the test server does not return full metadata (totalitems for
>> example) when returning
>> the list of comments, could you please check it and fix it ?
>> see this example:
>> thanks !
>> Ocs mailing list
>> Ocs at lists.freedesktop.org
> Frank Karlitschek
> karlitschek at kde.org
More information about the Ocs