[BUG]: Network errors while creating trigger action "NewTask"
Version Information
dev
Hashcat
No response
Description
Steps to reproduce:
Create a trigger action for "NewTask". After going through all of the field a trigger with the taskname "task:null" will be created. Clicking on the task will cause a lot of network errors.
{ "title": "No valid integer provided as task", "type": "about:blank", "status": 500 }
and
{ "title": "Filter parameter 'taskId__eq' is not valid integer value", "type": "about:blank", "status": 403 }
a similiar behaviour can be observed if you create a trigger for UserCreated. It will again create a field "applied to user:null"
It is correct that there is no taskId (or userId on the UserCreated trigger respectively) as it is a notification not to a specific object. But to avoid what you experienced, the frontend should not make a link out of it, if there is not a specific object assigned to it.