Details
-
Bug
-
Resolution: Fixed
-
None
-
High
-
The XLIFF2 export was not working with more than one translator associated to the task.
-
Empty show more show less
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()