When the translated job file doesn't contain a JobID the following error will occur:

Fatal error: Call to a member function id() on null in modules/tmgmt_xconnect/src/Plugin/tmgmt_xconnect/Format/Html.php on line 108

I propose to replace $job->id() which might not exist to the input variable $meta['JobID'].

Comments

mpp created an issue. See original summary.

mpp’s picture

Assigned: mpp » Unassigned
Status: Active » Needs review
StatusFileSize
new653 bytes
mpp’s picture

Issue summary: View changes
berdir’s picture

Status: Needs review » Fixed

Makes sense.

  • Berdir committed 065fc6b on 8.x-1.x authored by mpp
    Issue #2628342 by mpp: Fixed Fatal error: Call to a member function id...

Status: Fixed » Closed (fixed)

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