-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.1.9
Python version
3.9
Steps to Reproduce
Reproducable on demo.netbox.dev
- Create a malformatted export template for locations that creates an error/exception when running (e.g.
{% for location in queryset %}
{% if location.child.count() = 0 }
{{ location.name }} {% else %}{% endif %}{% endfor %}
Notice the missing % after the 0 )
2. Go to the locations screen and filter for the site, e.g. via https://demo.netbox.dev/dcim/locations/?site_id=21
3. Execute the report, exception gets thrown and the filter for site is deleted
Expected Behavior
Same as with successful running templates, keep the filters
Observed Behavior
Filters are deleted from the URL
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application