Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3632

Log if segment is not saved to TM

    XMLWordPrintable

Details

    • Critical
    • Add check if a segment was updated properly in t5memory and if not - log that for debug purposes

    Description

      If

      • a segment is saved to translate5 from a edited task (not when resaving a task)
      • a writable t5memory resource is assigned to the task

      then after the segment has been saved to t5memory

      • query t5memory for the source of the segment
      • compare the resulting best target match with the saved target. Log the segment, if
        • match rate is NOT 103%
        • OR target is NOT exactly the target we just saved
        • creation date is NOT from the last minute
      • If segment should be logged, log
        • to event and system log as error
        • log segment,
          • that  was saved with all meta data
          • all results that were received from t5memory, when querying for the match

      Make this logging on/off switchable via a system config, that is NOT overwritable. Turn it off by default.

      Attachments

        Activity

          People

            leonkiz Leon Kiz
            marcmittag Marc Mittag [Administrator]
            Sanya Mikhliaiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: