Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3500

Plugin ConnectWorldserver: finished task will (sometimes) not be transfered back to Worldserver

    XMLWordPrintable

Details

    • High
    • Hide
      If connection to Worldserver does not exist, transfer back to Worldserver does not happen, but the task in Translate5 was finished nevertheless.
      Now there is a check so its not possible to finish the task any more and a "connection-error" is shown to the user.
      Show
      If connection to Worldserver does not exist, transfer back to Worldserver does not happen, but the task in Translate5 was finished nevertheless. Now there is a check so its not possible to finish the task any more and a "connection-error" is shown to the user.

    Description

      Description

      After finishing the final workflow-step in Translate5, a task should be transfered back to Worldserver. If connection to Worldserver does not exist, this transfer back does not happen, but the task in Translate5 ist finished nevertheless.

      Solution

      before handling the WorkfowActionHandler "handleAllFinishedOfARole", there must be a check to be sure that the connection to the Worldserver exists. This is done now by a new event-handler "beforeWorkflowActionEventHandler" which is fired before the workflow actions are tiggered. If this hanlder fails, its not possible to finish the task any more and a "connection-error" is shown to the user.

      Attachments

        Activity

          People

            Stephan Stephan Bergmann
            Stephan Stephan Bergmann
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: