Details
-
Bug
-
Resolution: Fixed
-
None
-
High
-
SDLXLIFF Import: Fix tag duplicating issue for segments with Quick insert tags
-
Empty show more show less
Description
Problem
If in sdlxliff we getting quick insert tag id in target code will assign this tag with short tag starting from 1.
That leads to error in front end on attempt to save segment. User will get duplicating tag error.
But in fact that number may be already in use by some general g tag like `<g id="47">`
So as we start short numbers for target segment from new counter that leads to error of short number assigning.
For now we found this issue only with quick insert tags but judging from code we may encounter exact same problem if for some unknown reason file will have new numerical id in target segment.
Solution
Consider that tag ids in target segment may be different from source and so short numbers should be generated with increment following from source to target.