Too many queues and Smartling updated content not sync to the Drupal System

Created on 16 August 2024, 4 months ago
Updated 17 September 2024, 3 months ago

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.

🐛 Bug report
Status

Fixed

Version

9.8

Component

Code

Created by

🇮🇳India vikramsaini1609

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

Comments & Activities

Production build 0.71.5 2024