-
Type:
Improvement
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: t5memory
-
High
-
None
-
Process author, document and creation time from TUV
-
None
-
Emptyshow more show less
Problem
There are tmx files that do not have aouthor, document and creation time set on TU level.
Instead they have it on TUV level.
Example:
<tu tuid="_0001ouD1rg2d1Ed4U5aMrEg0Q0"> <tuv xml:lang="de"> <seg>Dieses lädt die Starterbatterie, sobald sich das Fahrzeug am Landstrom befindet.</seg> </tuv> <tuv xml:lang="en-gb" creationdate="20200922T103504Z" changedate="20200922T103504Z"> <prop type="project">19621771</prop> <prop type="created_by">RichardCarlsson</prop> <prop type="modified_by">RichardCarlsson</prop> <prop type="filename">Kapitel 4 - 2021.doc</prop> <seg>This charges the starter battery as soon as the vehicle is connected to shore power.</seg> </tuv> </tu>
This results in inconsistent import and resulting TM on t5memory side.
Solution
Add pre-processor to check for such a TUs and transform them to expected structure.
To map props from TUV to TU props and attributes new system config named
runtimeOptions.tmxImportProcessor.transformTusMapping
should be created.