biigle / maia

:m: BIIGLE module for the Machine Learning Assisted Image Annotation method
GNU General Public License v3.0
2 stars 3 forks source link

Fix error with generate patches job #153

Closed mzur closed 5 months ago

mzur commented 5 months ago

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 5 months ago

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.