-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating an interface via the api and sending lowercase mac_address creates a pointless changelog #17797
Comments
I would like to work on this issue |
Thanks @betheapi, I've assigned this to you. For reference, the MAC address should always be normalized to lowercase. |
I can work on this one. |
@jeremystretch, Line 43 in f845b2c
I can change this, but wanted to confirm the desired normalization. |
I might be wrong then, sorry. Do whatever is most consistent with existing behavior. |
Deployment Type
Self-hosted
Triage priority
N/A
NetBox Version
v4.1.4
Python Version
3.12
Steps to Reproduce
create an interface on a device. set a mac address.
via the api update the interface with the same mac address but send it in lowercase form instead of uppercase form
Expected Behavior
if the mac addresses match (ignoring case), no changelog should be made
Observed Behavior
a change log is created showing the mac_address being set to lowercase. but its stored in the db in uppercase. so there was no need for the changelog being created
The text was updated successfully, but these errors were encountered: