Search returns a server error when results include a contact after 'group/groups' change #11135

Closed
opened 2025-12-29 21:40:48 +01:00 by adam · 0 comments
Owner

Originally created by @as8net on GitHub (May 7, 2025).

Deployment Type

Self-hosted

NetBox Version

v4.3.0

Python Version

3.12

Steps to Reproduce

  1. Create a contact
  2. Search for that contact in the global search bar
  3. Get server error
Image Image Image

Expected Behavior

  1. Create a contact
  2. Search for that contact
  3. Get search results containing the contact

Observed Behavior

A Server Error was raised.

This is related to the 4.3 breaking change:

  • The group foreign key on the Contact model has been replaced with a many-to-many groups field.
Originally created by @as8net on GitHub (May 7, 2025). ### Deployment Type Self-hosted ### NetBox Version v4.3.0 ### Python Version 3.12 ### Steps to Reproduce 1. Create a contact 2. Search for that contact in the global search bar 3. Get server error <img width="766" alt="Image" src="https://github.com/user-attachments/assets/40b6e428-3c83-40a3-a2b5-c325b0ab7d45" /> <img width="541" alt="Image" src="https://github.com/user-attachments/assets/1788c4cd-6ddf-4dd3-bb75-cc71fb8f3fb6" /> <img width="1633" alt="Image" src="https://github.com/user-attachments/assets/98a48fd4-c838-4b2a-a6b0-986e4085548e" /> ### Expected Behavior 1. Create a contact 2. Search for that contact 3. Get search results containing the contact ### Observed Behavior A Server Error was raised. This is related to the 4.3 breaking change: - The group foreign key on the Contact model has been replaced with a many-to-many groups field.
adam added the type: bugstatus: duplicate labels 2025-12-29 21:40:48 +01:00
adam closed this issue 2025-12-29 21:40:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11135