There are two issues in version 9.8:

  1. Too many pending tmgmt_extension_suit_download queues if jobs are not completed on Smartling.
  2. 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

vikramsaini1609 created an issue. See original summary.

er.garg.karan’s picture

Status: Needs review » Needs work

As mentioned in the Release notes of tmgmt_smartling 8.x-9.8, this was changed. That is the cause of this issue.

  • loparev committed 31ad0228 on 8.x-9.x
    Issue #3468590: Too many queues and Smartling updated content not sync...

  • loparev committed d4bf6d07 on 8.x-9.x
    Issue #3468590 by vikramsaini1609, er.garg.karan, loparev: Too many...
loparev’s picture

Status: Needs work » Needs review

Reverted change from 9.8

loparev’s picture

loparev’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.