•  
      request #6641 GET /trackers/:id/artifacts does not paginate correctly
    Infos
    #6641
    Laurent Delaigue (ldelaigue)
    2014-04-10 10:03
    2014-04-08 11:19
    6711
    Details
    GET /trackers/:id/artifacts does not paginate correctly
    (Tuleap 6.12, not 6.11)
    When we call GET /trackers/:id/artifacts
    the X-PAGINATION-SIZE header is always lower than or equal to the X-PAGINATION-LIMIT. It contains the real number of artifacts only when it is strictly less than the X-PAGINATION-LIMIT.

    As a consequence, we never detect that we need to ask for the next page(s), since we always seem to have all the existing items on the first page.
    API
    6.11
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed
    Empty
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Hello Laurent,

    I will take a look on that as soon as possible.

    • Status changed from New to Acknowledged
    • Assigned to changed from None to Yannis ROSSETTO (rossettoy)