netbox-lifecycle icon indicating copy to clipboard operation
netbox-lifecycle copied to clipboard

<class 'django.core.exceptions.FieldError'> when sorting Lifecycle table by name

Open uck9 opened this issue 1 year ago • 0 comments

Plugin version

V1.1.3

NetBox version

v4.1.1

Python version

3.9

Steps to Reproduce

  1. Navigate to the Hardware Lifecycle page with all HW records shown.
  2. Click 'Name' to sort - Note that the sort doesn't work.
  3. Navigate away and back to the HW Lifecycle page. Error is shown.
  4. To be able to navigate to this page again, you need to go to your user preferences and remove the custom table configuration for the HardwareLifecycleTable.

Expected Behavior

Sort by Name works No error shown

Observed Behavior

<class 'django.core.exceptions.FieldError'>

Cannot resolve keyword 'name' into field. Choices are: assigned_object, assigned_object_id, assigned_object_type, assigned_object_type_id, bookmarks, comments, created, custom_field_data, description, device_type, documentation, end_of_maintenance, end_of_sale, end_of_security, end_of_support, id, journal_entries, last_contract_date, last_updated, module_type, notice, subscriptions, tagged_items, tags

Python version: 3.10.15
NetBox version: 4.1.1
Plugins: 
  netbox_inventory: 2.0.2
  netbox_lifecycle: 1.1.3
  netbox_napalm_plugin: 0.3.0

uck9 avatar Oct 09 '24 00:10 uck9