Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve keyword 'description_icontains' into field #14621

Closed
ix64 opened this issue Dec 28, 2023 · 2 comments · Fixed by #14622
Closed

Cannot resolve keyword 'description_icontains' into field #14621

ix64 opened this issue Dec 28, 2023 · 2 comments · Fixed by #14622
Assignees
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@ix64
Copy link
Contributor

ix64 commented Dec 28, 2023

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
@ix64 ix64 added the type: bug A confirmed report of unexpected behavior in the application label Dec 28, 2023
@markkuleinio
Copy link
Contributor

markkuleinio commented Dec 28, 2023

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

@jeremystretch
Copy link
Member

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 jeremystretch added status: accepted This issue has been accepted for implementation severity: medium Results in substantial degraded or broken functionality for specfic workflows labels Dec 28, 2023
@jeremystretch jeremystretch pinned this issue Dec 28, 2023
@jeremystretch jeremystretch unpinned this issue Dec 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants