Cannot resolve keyword 'description_icontains' into field #9001

Closed
opened 2025-12-29 20:44:03 +01:00 by adam · 2 comments
Owner

Originally created by @ix64 on GitHub (Dec 28, 2023).

Originally assigned to: @ix64 on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.6.8

Python Version

3.8

Steps to Reproduce

  1. Click on Add Interface
  2. Type any characters in the combo-box Select Device

Expected Behavior

A list of devices shown

Observed Behavior

Respond with HTTP 500


Cannot resolve keyword 'description_icontains' into field. Choices are: _name, airflow, asset_tag, assigned_asset, bgpsession, bookmarks, cabletermination, cluster, cluster_id, comments, config_template, config_template_id, console_port_count, console_server_port_count, consoleports, consoleserverports, contacts, coordinate, created, custom_field_data, description, device_bay_count, device_type, device_type_id, devicebays, face, front_port_count, frontports, id, images, interface_count, interfaces, inventory_item_count, inventoryitems, journal_entries, last_updated, latitude, local_context_data, location, location_id, longitude, module_bay_count, modulebays, modules, name, oob_ip, oob_ip_id, parent_bay, platform, platform_id, position, power_outlet_count, power_port_count, poweroutlets, powerports, primary_ip4, primary_ip4_id, primary_ip6, primary_ip6_id, rack, rack_id, rear_port_count, rearports, role, role_id, serial, services, site, site_id, status, tagged_items, tags, tenant, tenant_id, vc_master_for, vc_position, vc_priority, vdcs, virtual_chassis, virtual_chassis_id, virtual_machines

Python version: 3.11.4
NetBox version: 3.6.8
Plugins: 
  netbox_bgp: 0.11.1
  netbox_contract: 2.0.9
  netbox_inventory: 1.5.2
  netbox_topology_views: 3.8.1
Originally created by @ix64 on GitHub (Dec 28, 2023). Originally assigned to: @ix64 on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.6.8 ### Python Version 3.8 ### Steps to Reproduce 1. Click on `Add Interface` 2. Type any characters in the combo-box `Select Device` ### Expected Behavior A list of devices shown ### Observed Behavior Respond with HTTP 500 ```<class 'django.core.exceptions.FieldError'> Cannot resolve keyword 'description_icontains' into field. Choices are: _name, airflow, asset_tag, assigned_asset, bgpsession, bookmarks, cabletermination, cluster, cluster_id, comments, config_template, config_template_id, console_port_count, console_server_port_count, consoleports, consoleserverports, contacts, coordinate, created, custom_field_data, description, device_bay_count, device_type, device_type_id, devicebays, face, front_port_count, frontports, id, images, interface_count, interfaces, inventory_item_count, inventoryitems, journal_entries, last_updated, latitude, local_context_data, location, location_id, longitude, module_bay_count, modulebays, modules, name, oob_ip, oob_ip_id, parent_bay, platform, platform_id, position, power_outlet_count, power_port_count, poweroutlets, powerports, primary_ip4, primary_ip4_id, primary_ip6, primary_ip6_id, rack, rack_id, rear_port_count, rearports, role, role_id, serial, services, site, site_id, status, tagged_items, tags, tenant, tenant_id, vc_master_for, vc_position, vc_priority, vdcs, virtual_chassis, virtual_chassis_id, virtual_machines Python version: 3.11.4 NetBox version: 3.6.8 Plugins: netbox_bgp: 0.11.1 netbox_contract: 2.0.9 netbox_inventory: 1.5.2 netbox_topology_views: 3.8.1 ```
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 20:44:03 +01:00
adam closed this issue 2025-12-29 20:44:03 +01:00
Author
Owner

@markkuleinio commented on GitHub (Dec 28, 2023):

Confirmed that this issue also affects searches, see discussion #14625

@markkuleinio commented on GitHub (Dec 28, 2023): Confirmed that this issue also affects searches, see discussion #14625
Author
Owner

@jeremystretch commented on GitHub (Dec 28, 2023):

Sorry folks, this was a stupid mistake on my part. Unfortunately our FilterSet tests don't currently include checks for the search filters, which would have caught this. I've opened #14629 to rectify that.

Thanks @ix64 for jumping on this so quickly! I'll push a v3.6.9 release ahead of v3.7.0 to ensure this fix is available prior to the version bump.

@jeremystretch commented on GitHub (Dec 28, 2023): Sorry folks, this was a stupid mistake on my part. Unfortunately our FilterSet tests don't currently include checks for the search filters, which would have caught this. I've opened #14629 to rectify that. Thanks @ix64 for jumping on this so quickly! I'll push a v3.6.9 release ahead of v3.7.0 to ensure this fix is available prior to the version bump.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9001