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

Gracefully handle the error when completing an already completed task

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF11, 11.1
    • Component/s: Web UI
    • Release Notes Summary:
      Completing an already completed task is gracefully handled.
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxGang Sprint 11.1.13
    • Story Points:
      3

      Description

      Let's take the example where a task in a workflow is assigned to a group of users, so that all the users in the group can see the task.

      If two users open the same task simultaneously (or before the task was completed), only the first one that commits is allowed to execute the task. The other one will get a failure with an error in the browser console, but no error message is displayed to the user (this because the error is not catched in the nuxeo-app.js).

      Expected behavior: The second user should see an error message like "The task has been already completed". And no error in the browser console.

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 1 hour, 40 minutes
                  2d 1h 40m

                    PagerDuty

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