Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-28008

Make Task endpoint paginable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF22, 11.1
    • Component/s: Rest API, Workflow
    • Release Notes Summary:
      The Task endpoint is paginable.
    • Release Notes Description:
      Hide

      This improvement led to the following changes:

      • ActionContext does not contain anymore an array called tasks with all the tasks available for the current user/group;
        • This means that all contributions relying on the existence of tasks array on ActionContext won't work properly and need to be adapted to use the new pageable approach;
      • All the default WebUI task listing views are now paginated. As in other listings on WebUI, the way to request more tasks is to scroll through the list;
      • For coherency purposes, on the default WebUI home page (where four dashboards can be seen) the tasks dashboard is limited to 15 entries as the other three dashboards (Recently Viewed, Recently Edited and Favorite Items);
      • We've deprecated the previous way of fetching tasks, so it is not expected from now on to use an non-pageable approach for getting tasks;
      Show
      This improvement led to the following changes: ActionContext does not contain anymore an array called  tasks  with all the tasks available for the current user/group; This means that all contributions relying on the existence of  tasks array on  ActionContext won't work properly and need to be adapted to use the new pageable approach; All the default WebUI task listing views are now paginated. As in other listings on WebUI, the way to request more tasks is to scroll through the list; For coherency purposes, on the default WebUI home page (where four dashboards can be seen) the tasks dashboard is limited to 15 entries as the other three dashboards (Recently Viewed, Recently Edited and Favorite Items); We've deprecated the previous way of fetching tasks, so it is not expected from now on to use an non-pageable approach for getting tasks;
    • Tags:
    • Backlog priority:
      500
    • Impact type:
      API change
    • Team:
      GANG
    • Sprint:
      nxGang Sprint 11.1.22, nxGang Sprint 11.1.23, nxGang Sprint 11.1.24, nxGang Sprint 11.1.25, nxGang Sprint 11.1.26
    • Story Points:
      5

      Description

      As follow up of NXP-27823, we need to clean up Task endpoint implementation.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 3 hours, 20 minutes
                  2d 3h 20m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.