Issue with the contacts and the assignement_count #7184

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

Originally created by @earendilfr on GitHub (Nov 1, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.3.5

Python version

3.10

Steps to Reproduce

  1. Click on the Organization > Contacts > Contacts
  2. Filter the list of contacts by Assignement column
  3. Click on one Contact group name in the list

Expected Behavior

We should see the page of the Contact group as usual

Observed Behavior

We have an error like this:

Request Method: GET
Request URL: https://netbox.example.com/tenancy/contact-groups/6/
Django Version: 4.0.8
Exception Type: FieldError
Exception Value:

Cannot resolve keyword 'assignment_count' into field. Choices are: address, assignments, comments, created, custom_field_data, email, group, group_id, id, journal_entries, last_updated, link, name, phone, tagged_items, tags, title

Exception Location: /opt/netbox/venv/lib/python3.10/site-packages/django/db/models/sql/query.py, line 1677, in names_to_path
Python Executable: /opt/netbox/venv/bin/python
Python Version: 3.10.6
Python Path:

['/opt/netbox/netbox/',
'/usr/lib/python310.zip',
'/usr/lib/python3.10',
'/usr/lib/python3.10/lib-dynload',
'/opt/netbox/venv/lib/python3.10/site-packages']

Server time: Tue, 01 Nov 2022 13:37:31 +0100

Originally created by @earendilfr on GitHub (Nov 1, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.3.5 ### Python version 3.10 ### Steps to Reproduce 1. Click on the *Organization > Contacts > Contacts* 2. Filter the list of contacts by Assignement column 3. Click on one Contact group name in the list ### Expected Behavior We should see the page of the Contact group as usual ### Observed Behavior We have an error like this: **Request Method**: GET **Request URL**: https://netbox.example.com/tenancy/contact-groups/6/ **Django Version**: 4.0.8 **Exception Type**: FieldError **Exception Value**: Cannot resolve keyword 'assignment_count' into field. Choices are: address, assignments, comments, created, custom_field_data, email, group, group_id, id, journal_entries, last_updated, link, name, phone, tagged_items, tags, title **Exception Location**: /opt/netbox/venv/lib/python3.10/site-packages/django/db/models/sql/query.py, line 1677, in names_to_path **Python Executable**: /opt/netbox/venv/bin/python **Python Version**: 3.10.6 **Python Path**: ['/opt/netbox/netbox/', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/opt/netbox/venv/lib/python3.10/site-packages'] **Server time**: Tue, 01 Nov 2022 13:37:31 +0100
adam added the type: bugstatus: accepted labels 2025-12-29 20:20:16 +01:00
adam closed this issue 2025-12-29 20:20:16 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7184