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

Task creation event flow can be inappropriate

    XMLWordPrintable

Details

    • Critical
    • Changes are done within related ticket

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: