"is [not] empty" filter expects value #264

Closed
opened 2026-04-05 16:23:54 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ColdRogue26 on 3/2/2026

NetBox Edition

NetBox Community

NetBox Version

v4.5.1

Python Version

3.12

Steps to Reproduce

  1. Go to filters in any list
  2. Set any filter (e.g. "Speed" for interfaces) to "is empty" or "is not empty"
  3. Click Search
  4. Open Filter tab again

Expected Behavior

Expected behavior would be the filter applying and filtering out any object applying to the filter. 3

Observed Behavior

The filter "applies" without throwing an error, but it doesn't filter anything. Objects not matching the "is empty" or "is not empty" parameter still appear in the list.
Going back to the filter settings, it now shows "Enter a whole number" (Interfaces > Speed "is [not] empty") or "Enter a list of values" (Interfaces > Duplex "is [not] empty")

https://github.com/user-attachments/assets/c2557e8c-370c-4295-86f9-dc3e90361be1

*Originally created by @ColdRogue26 on 3/2/2026* ### NetBox Edition NetBox Community ### NetBox Version v4.5.1 ### Python Version 3.12 ### Steps to Reproduce 1. Go to filters in any list 2. Set any filter (e.g. "Speed" for interfaces) to "is empty" or "is not empty" 3. Click Search 4. Open Filter tab again ### Expected Behavior Expected behavior would be the filter applying and filtering out any object applying to the filter. 3 ### Observed Behavior The filter "applies" without throwing an error, but it doesn't filter anything. Objects not matching the "is empty" or "is not empty" parameter still appear in the list. Going back to the filter settings, it now shows "Enter a whole number" (Interfaces > Speed "is [not] empty") or "Enter a list of values" (Interfaces > Duplex "is [not] empty") https://github.com/user-attachments/assets/c2557e8c-370c-4295-86f9-dc3e90361be1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#264