Skip to content
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

[bug] Mac address is case sensitive #922

Open
nemesifier opened this issue Sep 10, 2024 · 0 comments · May be fixed by #937
Open

[bug] Mac address is case sensitive #922

nemesifier opened this issue Sep 10, 2024 · 0 comments · May be fixed by #937
Labels

Comments

@nemesifier
Copy link
Member

When creating a new device, if the mac address is inserted as lowercase, it's stored as lowercase.
However, the openwisp-config agent always converts the mac address to uppercase.

We should automatically convert the mac address to the uppercase format in the model clean method, before the device key is automatically generated. This will ensure consistency.

@nemesifier nemesifier added the bug label Sep 10, 2024
@nemesifier nemesifier moved this from To do (general) to To do (Python & Django) in OpenWISP Contributor's Board Sep 10, 2024
@nemesifier nemesifier moved this from Backlog to To do in OpenWISP Priorities for next releases Sep 10, 2024
chahatsagarmain added a commit to chahatsagarmain/openwisp-controller that referenced this issue Nov 5, 2024
…device openwisp#922

In device registration view, Made changes to the init object and included  checked if attribute is mac_address then it should be changed to upper case

Fixes openwisp#922

Signed-off-by: chahatsagarmain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do (Python & Django)
1 participant