In our setup we use the default file translation provider and textmaster. While opening an existing job using the file plugin my site breaks with an error 500 and the following message:
Error: Call to undefined method Drupal\\tmgmt_file\\Plugin\\tmgmt\\Translator\\FileTranslator::setTranslator() in modules/contrib/tmgmt_textmaster/tmgmt_textmaster.module on line 147

This is caused by a broken check for correct translator in tmgmt_textmaster_form_tmgmt_job_item_edit_form_alter.

CommentFileSizeAuthor
#2 fix_edit_form_alter-2968901-2.patch524 bytessteffenr

Comments

SteffenR created an issue. See original summary.

steffenr’s picture

StatusFileSize
new524 bytes

Attached a patch fixing the issue.

steffenr’s picture

Assigned: steffenr » Unassigned
Status: Active » Needs review

  • 91cf82d committed on 2968901-d8-error-job-with-translation-provider-file
    Issue #2968901 by SteffenR: Error while opening translation job in...

  • 1e80de5 committed on 8.x-1.x
    Issue #2968901 by SteffenR: Error while opening translation job in...
DamL’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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