Short tag number assigned incorrectly

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: Import/Export
    • High
    • None
    • Fix assignment of short tag number for internal tags
    • None

      Problem

      If segment hag trailing tags they will be trimmed on task import.

      But logic is made in a way that they will still be counted before trim and will impact number of short tag for internal tags.

      This resulted in 2 repetition segments to have different tag numbers as one of them had trailing tags and other not.

      As so in match analysis and pre-translation one of segments was not pre-translated because of error in tags comparison.

      Solution

      Re-assign short tag numbers after trailing tags are stripped.

      Test

      Enable integer "simple default" protection rule for de-de -> en-us language pair.

      Create t5memory LR with tmx from files.

      Create task with Test.xlf file.

      Check that short id in both segments is <1/>.

      Pre-translate task and assert that both segments wee translated and one of them has user status "auto-propagated", meaning was translated with repetition.

        1. test.tmx
          0.6 kB
          Sanya Mikhliaiev
        2. Test.xliff
          1 kB
          Sanya Mikhliaiev

            Assignee:
            Sanya Mikhliaiev
            Reporter:
            Sanya Mikhliaiev
            None
            None
            Thomas Lauria
            Sasha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None