-
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.0.9
Python version
3.9
Steps to Reproduce
- Create a new vlan
- Open the vlans table (.../ipam/vlans/)
- Click "Configure Table" and add the "ID" column from under "Available Columns"
- Export the VLAN table as a CSV file
Expected Behavior
The vid column should be distinguished from the netbox object ID column. For example, call it "VLAN ID".
Observed Behavior
Both the VLAN ID and the Netbox object ID have the same "ID" header, both in the table and in the CSV export. This causes an issue with anything consuming the exported CSV file, as the ID header is now ambiguous.
This bug was introduced in v3.0.9 via FR #6930 / PR #7673.
netbox/netbox/ipam/tables/vlans.py
Lines 92 to 97 in f5356b8
| class VLANTable(BaseTable): | |
| pk = ToggleColumn() | |
| vid = tables.TemplateColumn( | |
| template_code=VLAN_LINK, | |
| verbose_name='ID' | |
| ) |
phurrelmann
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


