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

webui does not handle error codes in tasks view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.10-HF03
    • Fix Version/s: 10.10-HF11, 11.1
    • Component/s: Web UI

      Description

      In the task view, when clicking on a task action, if the api returns an error code nothing happens on the UI side

      https://github.com/nuxeo/nuxeo-web-ui/blob/c7e67299e9c35803d8c25104324ba37e54787f4d/elements/workflow/nuxeo-document-task.js#L223

      Step to reproduce:

      • configure a workflow in studio with one step
      • bind an automation script to a transition
      • throw an exception in the script
      • deploy
      • start the workflow
      • try to complete the task
        ==> there is an error server side but nothing happens in the UI

        Attachments

          Issue Links

            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.