Details

    • Critical
    • Hide
      For tasks, that are assigned with "write" rights to a TM, if a user saves segments to the task from now on segments are not immediately saved to the TM anymore. So far this was the case and lead to unreviewed segments and segments that even were about to be changed within the current work of a single translator could already appear in pre-translations of other tasks.
      This can be seen as a major bug.
      Now as a new feature a task TM is introduced, that makes sure, those segments are only saved into the TM with write access for the task, when the whole workflow is finished.
      So this is an important downwards incompatible change, that at the same time is a bug fix in the way of how translate5 works and therefore is rolled out to everyone.
      Show
      For tasks, that are assigned with "write" rights to a TM, if a user saves segments to the task from now on segments are not immediately saved to the TM anymore. So far this was the case and lead to unreviewed segments and segments that even were about to be changed within the current work of a single translator could already appear in pre-translations of other tasks. This can be seen as a major bug. Now as a new feature a task TM is introduced, that makes sure, those segments are only saved into the TM with write access for the task, when the whole workflow is finished. So this is an important downwards incompatible change, that at the same time is a bug fix in the way of how translate5 works and therefore is rolled out to everyone.
    • Introduced Task TM concept for t5memory
    • 6/6
      list ALL project TMs in resources to task assoc but with additional filter
      list ALL project TMs in the language resource overview but with new filter, and default is: filter is set
      Workflow finished did not save to TM
      deletion of task did not delete task TM
      this leads to "orphaned" task TMs that will be normal TMs then
      when default write access is given to a TM, no task TM is created, but should!
      show more show less

    Description

      Background

      Background 1

      When we are saving a segment to t5memory, we are also flushing the open t5memory memory to the disk to make sure, there is no loss of data in case t5memory crashes.

      This flushing process blocks the access to the TM during the flushing, what can lead to slow answering times and a lot of disk I/O in case of high usage of big TMs.

      Background 2

      We need to save segments directly to a TM in translate5 during work of translators so that translators can benefit from internal fuzzy matches and can find segments they translated further up in the task also already via concordance search.

      On the other hand often it is unwanted, that new segments already enter the current TM before they are fully approved in the translation process - so before the workflow is fully done.

      Solution

      Both backgrounds can be solved with introducing project TMs.

      The process should be as follows:

      • When the first TM language resource is assigned with write access to a task, an empty TM called "Task TM id '123'" is created, where '123' is the id of the current task. The task TM is assigned to the task with read and write access.
      • This task TM will only be deleted, if the task is deleted. Until then it stays.
      • All task TMs will be listed in the language resources to task assoc (with read and write flag checked), in the TM maintenance and in the language resources management, but with an extra filterable flag "task TM". By default filter is set, so that task TMs are not searched in TM maintenance and not listed in language resources management and language resource task assoc.
      • Task TMs that are assigned to a task will be listed in the analysis (there might be matches coming from it, when redoing an analysis and the PM might want to disable it for whatever reasons)
      • For every non-task-TM where the "write" flag is checked in the language resource to task assoc the task is re-imported into the TM when the workflow jumps to "workflow finished". All segments are saved to TM in the way they are saved using the "associated tasks" feature, except the timestamp will be the one last saved by user and for segments untouched in the task itself, the timestamp will be that of the pretranslation.
      • Blocked segments are not saved back to TM. Segments that are locked when the workflow is finished and the saving back to the TMs is triggered, are not saved to TM.
      • The code must ensure, that we do not run into an error, if the PM deleted the task TM. And that this is logged, if he does so.

      Background 1 is solved this way, because task TMs are always small and therefore flushing them to disk with every segment save does not do any harm.

      Attachments

        Issue Links

          Activity

            People

              leonkiz Leon Kiz
              marcmittag Marc Mittag [Administrator]
              Thomas Lauria
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: