Contact email is displayed as None in detail view #5740

Closed
opened 2025-12-29 19:32:05 +01:00 by adam · 1 comment
Owner

Originally created by @rodvand on GitHub (Dec 8, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1.0

Python version

3.8

Steps to Reproduce

  1. Create a Contact with name "Contacto" and email "contacto@emailo.com"

Expected Behavior

The detailed view should display the Contact's email address.

Observed Behavior

When accessing the contact's detailed view the email address is displayed as None. If you edit the Contact and add a phone number for example, both the email and phone number displays in the detailed view.

The Contact's email address is displayed in the list view (/tenancy/contacts/).

Originally created by @rodvand on GitHub (Dec 8, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1.0 ### Python version 3.8 ### Steps to Reproduce 1. Create a Contact with name "Contacto" and email "contacto@emailo.com" ### Expected Behavior The detailed view should display the Contact's email address. ### Observed Behavior When accessing the contact's detailed view the email address is displayed as None. If you edit the Contact and add a phone number for example, both the email and phone number displays in the detailed view. The Contact's email address is displayed in the list view (/tenancy/contacts/).
adam added the type: bugstatus: accepted labels 2025-12-29 19:32:05 +01:00
adam closed this issue 2025-12-29 19:32:05 +01:00
Author
Owner

@rodvand commented on GitHub (Dec 8, 2021):

This looks like the culprit:
d59847537d/netbox/templates/tenancy/contact.html (L51-L55)

@rodvand commented on GitHub (Dec 8, 2021): This looks like the culprit: https://github.com/netbox-community/netbox/blob/d59847537dce2f413378e6d3e474fdc643b332f3/netbox/templates/tenancy/contact.html#L51-L55
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5740