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

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

Open
uck9 opened this issue Oct 9, 2024 · 0 comments

Comments

@uck9
Copy link
Contributor

uck9 commented Oct 9, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant