Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #12620 /plannings/{id}/milestones returns wrong x-pagination-size
    Infos
    #12620
    Joseph Guagenti (joseph.guagenti)
    2018-12-14 13:40
    2018-12-12 16:22
    13327
    Details
    /plannings/{id}/milestones returns wrong x-pagination-size

    x-pagination-size is returning x-pagination-limit. There are 75 milestones in project 101.

    x-pagination-size(75) > x-pagination-limit(10) = x-pagination-size(10) > x-pagination-limit(10

    x-pagination-size(75) > x-pagination-limit(60) = x-pagination-size(60) > x-pagination-limit(60

    ------------------------------------------------

    if x-pagination-limit is greater then x-pagination-size then correct x-pagination-size is returned:

    x-pagination-size(75) > x-pagination-limit(100) = x-pagination-size(75) > x-pagination-limit(100

    API
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2018-12-14
    Attachments
    References
    Referenced by request #12620

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-12-13 08:57
    Hi,

    Thanks for the report, you are right the X-Pagination-Size value is incorrect for this route.

    • Status changed from New to Verified
    • Assigned to changed from None to Thomas Gerbet (tgerbet)
    • Reported in version changed from 10.8 to All
    • Platform cleared values: EL7 (CentOS|RHEL)