Duplicate MAC address attribute #10684

Closed
opened 2025-12-29 21:34:43 +01:00 by adam · 2 comments
Owner

Originally created by @Azmodeszer on GitHub (Jan 22, 2025).

Originally assigned to: @DanSheps on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.2.2

Python Version

3.11

Steps to Reproduce

  1. Go to a device or VM interface table.
  2. Check the available columns.

Expected Behavior

One column: "MAC Address"

Observed Behavior

Two columns: "MAC Address", "Mac address"

Image
Image

dir(Interface) in the Python shell also shows me ...'mac_address', 'mac_addresses',...

So I guess the lowercase one is probably a remnant from a plugin or something? These are the plugins I have currently installed:

  • NetBox Floorplan
  • Reordering Racked Devices
  • NetBox Interface Synchronization
  • NetBox Topology Views
  • NetBox Inventory
  • Document Storage
  • IP Calculator

As far as I can determine, none of them are the culprit, so something that used to be installed maybe? In any case, how to get rid of it?

Originally created by @Azmodeszer on GitHub (Jan 22, 2025). Originally assigned to: @DanSheps on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.2.2 ### Python Version 3.11 ### Steps to Reproduce 1. Go to a device or VM interface table. 2. Check the available columns. ### Expected Behavior One column: "MAC Address" ### Observed Behavior Two columns: "MAC Address", "Mac address" ![Image](https://github.com/user-attachments/assets/041c554d-285c-4b78-ad94-caac0aa77d9e) ![Image](https://github.com/user-attachments/assets/437d8850-d27f-4ee8-a4a9-6483b093fe14) `dir(Interface)` in the Python shell also shows me ` ...'mac_address', 'mac_addresses',...` So I guess the lowercase one is probably a remnant from a plugin or something? These are the plugins I have currently installed: - NetBox Floorplan - Reordering Racked Devices - NetBox Interface Synchronization - NetBox Topology Views - NetBox Inventory - Document Storage - IP Calculator As far as I can determine, none of them are the culprit, so something that _used to be_ installed maybe? In any case, how to get rid of it?
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:34:43 +01:00
adam closed this issue 2025-12-29 21:34:47 +01:00
Author
Owner

@bctiemann commented on GitHub (Jan 22, 2025):

Maybe related to https://github.com/netbox-community/netbox/issues/18447 ? At least the fix to that will certainly have some interaction with this behavior.

@bctiemann commented on GitHub (Jan 22, 2025): Maybe related to https://github.com/netbox-community/netbox/issues/18447 ? At least the fix to that will certainly have some interaction with this behavior.
Author
Owner

@DanSheps commented on GitHub (Jan 23, 2025):

I think this will be fixed by merging #18450. Once we merge that can you check the behaviour again?

@DanSheps commented on GitHub (Jan 23, 2025): I think this will be fixed by merging #18450. Once we merge that can you check the behaviour again?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10684