biigle/maia

Fix error with generate patches job

Closed this issue · 1 comments

mzur commented

There was this error:

Typed property Biigle\Modules\Maia\Jobs\GenerateTrainingProposalPatches::$maiaJob must not be accessed before initialization

in Jobs/GenerateTrainingProposalPatches.php:31. It has the failed job ID 36963 (maia job 795).

mzur commented

The error was caused because the job was still queued while the application was upgraded. A job property was renamed to maiaJob which was no longer set after unserialization. This could be fixed by changing the variable name in the serialized state.