Error in export template silently causes the default export to be used instead #7813
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.0.9
Python version
3.8
Steps to Reproduce
Create a new export template:
dcim | cable
Cables for CSV re-import
Now browse to cables, select a filter which limits them to a single device.
Click on
Export > Cables for CSV Import
This links to
dcim/cables/?q=&device_id=952&type=&status=&color=&export=Cables%20for%20CSV%20re-import
Expected Behavior
The downloaded CSV file would be formatted in accordance with the given template
OR: if the template is invalid, that an error would be reported.
Observed Behavior
The file
netbox_cables.csv
which is generated uses the default CSV formatting, ignoring the selected export template:The text was updated successfully, but these errors were encountered: