Improve handling of faulty reports #12842
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.5.3
Python version
3.8
Steps to Reproduce
/extras/reports/
Expected Behavior
The invalid report to be shown as such, and to be able at least to delete it via the GUI.
Note, however, if this were to hide the error message, it would then become very difficult to debug. See #12766 for the behaviour of Custom Scripts.
Observed Behavior
A Server Error is generated. Unfortunately, this then means it's impossible to delete the report via the web interface, as you can't even get a list of reports. Furthermore, if you simply rm the file from the reports directory, you get another Server Error ("File Not Found"). See #12841 for example.
Workaround
At the CLI:
A zero-byte report is considered valid, and then can be deleted from within the GUI.
The text was updated successfully, but these errors were encountered: