You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Chico Charlesworth (JIRA)" <ji...@apache.org> on 2009/01/23 11:14:59 UTC

[jira] Created: (SHINDIG-885) Incorrect totalResults calculation in PersonServiceDb and ActivityDb

Incorrect totalResults calculation in PersonServiceDb and ActivityDb
--------------------------------------------------------------------

                 Key: SHINDIG-885
                 URL: https://issues.apache.org/jira/browse/SHINDIG-885
             Project: Shindig
          Issue Type: Bug
          Components: Sample container & Examples
            Reporter: Chico Charlesworth



In light of SHINDIG-778 (Total results is the size of the total result set. The count parameter specifies how many items to fetch for a particular request), it's now understood that the totalResults should be a count of the total number of rows, i.e. not the number of paginated set of rows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SHINDIG-885) Incorrect totalResults calculation in PersonServiceDb and ActivityDb

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-885.
----------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

patch applied, thanks!


> Incorrect totalResults calculation in PersonServiceDb and ActivityDb
> --------------------------------------------------------------------
>
>                 Key: SHINDIG-885
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-885
>             Project: Shindig
>          Issue Type: Bug
>          Components: Sample container & Examples
>            Reporter: Chico Charlesworth
>             Fix For: trunk
>
>         Attachments: fix-885-736969-bug.patch
>
>
> In light of SHINDIG-778 (Total results is the size of the total result set. The count parameter specifies how many items to fetch for a particular request), it's now understood that the totalResults should be a count of the total number of rows, i.e. not the number of paginated set of rows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SHINDIG-885) Incorrect totalResults calculation in PersonServiceDb and ActivityDb

Posted by "Chico Charlesworth (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chico Charlesworth updated SHINDIG-885:
---------------------------------------

    Attachment: fix-885-736969-bug.patch


Fixed PersonServiceDb and ActivityServiceDb to correctly calculate totalResults by doing a count query before the actual paginated query. Also, fixed ActivityServiceDb to also implement pagination.

> Incorrect totalResults calculation in PersonServiceDb and ActivityDb
> --------------------------------------------------------------------
>
>                 Key: SHINDIG-885
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-885
>             Project: Shindig
>          Issue Type: Bug
>          Components: Sample container & Examples
>            Reporter: Chico Charlesworth
>         Attachments: fix-885-736969-bug.patch
>
>
> In light of SHINDIG-778 (Total results is the size of the total result set. The count parameter specifies how many items to fetch for a particular request), it's now understood that the totalResults should be a count of the total number of rows, i.e. not the number of paginated set of rows.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.