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

Don't try to retrieve tasks without route instance

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF04, 8.1
    • Component/s: Workflow

      Description

      As a Nuxeo user, I can't retrieve tasks through the REST API in several cases :

      • if there's at least one task without process id.
        The error results in a http error 500 which is caused by a NullPointerException in DocumentRoutingServiceImpl#getTasks
      • if there's at least one task referencing a missing route instance
        The error results in a http error 404 which is caused by a DocumentNotFoundException in DocumentRoutingServiceImpl#getTasks

      REST API call :

      http://localhost:8080/nuxeo/site/api/v1/task

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

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