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

XLIFF2 Export with more than one translator does not work

    XMLWordPrintable

Details

    • High
    • The XLIFF2 export was not working with more than one translator associated to the task.

    Description

      problem

      Associated more than one translators to a task and do not modify all segments (so that the workflow step of some segments remain empty)

      Then call xliff2 export.

      trace

       

      Query Translate5 log.
       =====================
      message: TypeError: editor_Workflow_Default::isStepOfRole(): Argument #1 ($step) must be of type string, null given, called in /home/tlauria/www/translate5-master/application/modules/editor/Models/Converter/SegmentsToXliff2.php on line 584
       appVersion: development
       file (line): /home/tlauria/www/translate5-master/application/modules/editor/Workflow/Default.php (455)
       Host: translate5.localdev
       URL: PUT /editor/worker/116
       Trace: #0 /home/tlauria/www/translate5-master/application/modules/editor/Models/Converter/SegmentsToXliff2.php(584): editor_Workflow_Default->isStepOfRole()
       #1 /home/tlauria/www/translate5-master/application/modules/editor/Models/Converter/SegmentsToXliff2.php(371): editor_Models_Converter_SegmentsToXliff2->initItsPersonGuid()
       #2 /home/tlauria/www/translate5-master/application/modules/editor/Models/Converter/SegmentsToXliff2.php(358): editor_Models_Converter_SegmentsToXliff2->processSegmentsOfFile()
       #3 /home/tlauria/www/translate5-master/application/modules/editor/Models/Converter/SegmentsToXliffAbstract.php(249): editor_Models_Converter_SegmentsToXliff2->processAllSegments()
       #4 /home/tlauria/www/translate5-master/application/modules/editor/Models/Export/Xliff2Worker.php(105): editor_Models_Converter_SegmentsToXliffAbstract->export()
      

       

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: