Adding a project widget to a global dashboard without specifying the project to be used outputs:
- a huge error stack strace in the log
- and a technical message in the UI ("An error occurred while trying to display the widget XXXX. Please contact the administrator.").
The validation should be done by the UI to check that a project is actually set in order to avoid such an error.