Auto accepted translations are never finished

Created on 25 June 2023, over 1 year ago

Problem/Motivation

When the "Auto accept finished translations" option is used, completed translations are not marked as finished. Because the jobs remain active they will never be purged, and so the tmgmt database tables can quickly grow very big.

Proposed resolution

#2860449: Implement proper job state change in requestJobItemsTranslation() describes why this happens and proposes a few solutions. Two require API changes in TMGMT itself, and the third suggests that translation provider can reload the job to get the current state of the job and act accordingly. I've made a patch that implements the reload option. The same problem and patch exists for TMGMT Microsoft #2926085: Auto accepted translations are never finished

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.1

Component

Code

Created by

🇪🇸Spain Peacog

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024