The job has no provider assigned

Created on 18 March 2016, over 9 years ago
Updated 3 July 2025, 10 days ago

When only one plugin is available and "Allow quick checkout" is enabled, the following error occurs: The job has no provider assigned.

Steps to reproduce:

  1. Install Drupal 8.0.5 standard profile, tmgmt, tmgmt_microsoft
  2. Enable "Allow quick checkout" on admin/tmgmt/settings
  3. Configure Microsoft plugin (make sure there is only ONE plugin available)
  4. Add some languages
  5. Make article translatable
  6. Click translate tab
  7. Choose a language and click "Request translation"
  8. Error occurs: Drupal\tmgmt\TMGMTException: The job has no provider assigned. in Drupal\tmgmt\Entity\Job->getTranslator() (line 482 of /modules/tmgmt/src/Entity/Job.php).
🐛 Bug report
Status

Needs work

Component

Core

Created by

🇧🇪Belgium mpp

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Our site experiences the same problem. With, or without "Allow quick checkout" enabled.
    We use DeepL.

    A workaround, is to go into the tmgmt_job table, find the most recent job item.
    The `translator` column would be NULL for that job.

    Change it to `deepl_pro` manually. (On production. Yes, I too like to live dangerously).
    Go to the Job overview, and resubmit the job.

    Patch #19 fixes it for us, but is as berdir mentions maybe not the correct fix.
    The problem is probably that upon creation of the job, the translator is not being set correctly.

Production build 0.71.5 2024