Empty filter search on cables with required custom field returns server error #5433

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

Originally created by @gui551 on GitHub (Sep 28, 2021).

NetBox version

v3.0.3

Python version

3.8

Steps to Reproduce

  1. Create custom field on cables - selection type, set as required field, filter logic as exact. set multiple choices and set one of them as default;
  2. Create a few cables - I have around 100;
  3. Go to Cables and then click on Filters;
  4. Click on search without applying any filters.

I have tested on my netbox instance and on demo (i know it´s not correct to rely on demo instance, but just to be sure it´s not a problem on my instance) and both of them returned the error.

Expected Behavior

View all the cables or a pop-up requiring to enter the required custom field.

Observed Behavior

This error.

image

Originally created by @gui551 on GitHub (Sep 28, 2021). ### NetBox version v3.0.3 ### Python version 3.8 ### Steps to Reproduce 1. Create custom field on cables - selection type, set as required field, filter logic as exact. set multiple choices and set one of them as default; 2. Create a few cables - I have around 100; 3. Go to Cables and then click on Filters; 4. Click on search without applying any filters. I have tested on my netbox instance and on demo (i know it´s not correct to rely on demo instance, but just to be sure it´s not a problem on my instance) and both of them returned the error. ### Expected Behavior View all the cables or a pop-up requiring to enter the required custom field. ### Observed Behavior This error. ![image](https://user-images.githubusercontent.com/58554151/135115453-63b16a29-bd44-4097-a6b3-fd5cfc68b1ed.png)
adam added the type: bugstatus: duplicate labels 2025-12-29 19:27:53 +01:00
adam closed this issue 2025-12-29 19:27:53 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 28, 2021):

Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #7324 for further discussion.

@jeremystretch commented on GitHub (Sep 28, 2021): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #7324 for further discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5433