Details
-
Bug
-
Resolution: Fixed
-
None
-
Medium
-
The XLIFF 2 export was failing if the imported tasks was containing one file which was ignored on import (for example if all segments were tagged with translate no)
-
Empty show more show less
Description
problem
The XLIFF2 export is failing with the following error:
TypeError: editor_Models_SegmentUserAssoc::loadByParams(): Argument #1 ($userGuid) must be of type string, null given
reason
This is happening on tasks where some of the files in the task were not imported with the message:
The file "Leerseite2.mif.sdlxliff" did not contain any translation relevant content. Either all segments are set to translate="no" or the file was not segmented.
On export then the segments of such files were tried to be loaded, but no segments were found. And this was not handled properly.