Adding a translation check user to a proofreading task changes workflow step to translation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • None
    • Affects Version/s: None
    • Component/s: Workflows

      problem

      1. create a proofreading task
      2. add as first user a translation check user by default in status waiting (instead of a proofreading user)
      3. Then the tasks changes from proofreading to translation workflow step

      This should not be the case, since having just a translator check user in a proofreading task is a valid configuration. The order of adding users should not make any difference in workflow step calculation. Which is the case here.

      reason

      In the algorithm to calculate the workflow step of a task we loop through all available steps and compare the current user-role-status configuration with the configuration for each step.

      Since a translator checker in status waiting is valid for translation and proofreading step, and translation comes before proofreading in the checking loop, the current algorithm calculates the first one as the step to be used.

      solution

      The algorithm must find all valid steps (not only the first one) for the current user-role-status configuration. If the current step is one of the found ones, everything is ok, and nothing has to be done. If not, then the first found step should be used as new step.

            Assignee:
            Thomas Lauria
            Reporter:
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: