Task creation event flow can be inappropriate

XMLWordPrintable

    • Critical
    • Changes are done within related ticket

      The problem is here
      https://bitbucket.org/mittagqi/translate5/src/f0f0cb20c47fd5ca33c98bef756e8cbeee5a66bc/application/modules/editor/Bootstrap.php#lines-97
      `afterDirectoryParsing` is fired in FileTree worker
      And the problem is that because FileTree worker is queued in between `beforePost` and `afterPost` events during handling task creation, It is trying to queue quality provider workers before the task is actually fully created. Therefore if we have afterPost event listeners they can work inappropriately.

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

              Created:
              Updated:
              Resolved: