Error on export of tenants due to field requirement inconsistency #555

Closed
opened 2025-12-29 16:23:08 +01:00 by adam · 0 comments
Owner

Originally created by @Mikecom32 on GitHub (Nov 29, 2016).

Version 1.7.1

When creating a tenant, it is not required that you select a tenant group. When you attempt to export tenants that do not have a tenant group, you receive the following error:

<type 'exceptions.AttributeError'>

'NoneType' object has no attribute 'name'

Additionally, the field is not marked as optional in the CSV import screen for tenants, although the import will gladly accept a blank value for tenant group.

Originally created by @Mikecom32 on GitHub (Nov 29, 2016). Version 1.7.1 When creating a tenant, it is not required that you select a tenant group. When you attempt to export tenants that do not have a tenant group, you receive the following error: ``` <type 'exceptions.AttributeError'> 'NoneType' object has no attribute 'name' ``` Additionally, the field is **not** marked as optional in the CSV import screen for tenants, although the import will gladly accept a blank value for tenant group.
adam added the type: bug label 2025-12-29 16:23:08 +01:00
adam closed this issue 2025-12-29 16:23:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#555