Created a WorkRequest with task_data = "string" raise exception in the worker (and WorkRequest never completed)

Time ago I created a WorkRequest with task_data = "a string" instead of a dictionary. How? I was using the Work Request form before it had validation on creation.

debusine.tasks._task.Task.configure() this line:

        data_notifications = task_data.pop("notifications", None)

Fails because it tries to pop from a string.

The server raises an exception.

The worker does received the error but exited badly. The WorkRequest was not marked as error and tried again (and again...).

This might not happen because we have validation of the task_data before writing it now. But we might want to consider improving this.

I will need to delete the WorkRequest from the DB.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information