There are two issues in version 9.8:
- Too many pending tmgmt_extension_suit_download queues if jobs are not completed on Smartling.
- Updated content does not sync to Drupal when content is updated directly on Smartling for a completed job.
Steps to Reproduce Issue of #1
- Create a node.
- Wait for submit the job to Smartling.
- Do not complete the job on Smartling.
- You will now see the job in the queue table for all uncompleted job items.
Steps to Reproduce Issue of #2
- Create a node.
- Wait for submit the job to Smartling.
- Complete the job on Smartling.
- Wait for it to be imported into the Drupal system.
- Once the translation is completed, make changes directly on Smartling.
- You will notice that those changes will not sync to the Drupal system.
I have investigated the issue. The problem lies in the tmgmt_smartling_cron() function. Before version 9.8, it checked for updates on Smartling with a Curl request. Now, this function retrieves active jobs from the database and creates a tmgmt_extension_suit_download queue. Jobs that are not translated on Smartling remain in an active state. This function is no longer retrieving updated records from Smartling.
Proposed Resolution
We can add a setting in the admin panel to allow the selection of the desired approach.
Comments
Comment #2
er.garg.karanAs mentioned in the Release notes of tmgmt_smartling 8.x-9.8, this was changed. That is the cause of this issue.
Comment #5
loparev commentedReverted change from 9.8
Comment #6
loparev commentedRolled out 9.10 release https://www.drupal.org/project/tmgmt_smartling/releases/8.x-9.10
Comment #7
loparev commented