Exception when sorting Services by Parent field #3698

Closed
opened 2025-12-29 18:30:40 +01:00 by adam · 2 comments
Owner

Originally created by @wfr1 on GitHub (May 18, 2020).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.8.4

Steps to Reproduce

  1. Open following url: https://master.netbox.dev/ipam/services/?sort=parent or
  2. Navigate IPAM -> Services and click on Parent to sort

Expected Behavior

Sort by Parent Field.

Observed Behavior

Screenshot_2020-05-18 Server Error

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

Cannot resolve keyword 'parent' into field. Choices are: created, custom_field_values, description, device, device_id, id, ipaddresses, last_updated, name, port, protocol, tagged_items, tags, virtual_machine, virtual_machine_id

Originally created by @wfr1 on GitHub (May 18, 2020). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, DO NOT open an issue. Instead, post to our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report, and that any plugins have been disabled. --> ### Environment * Python version: 3.6.8 * NetBox version: 2.8.4 <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox. Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a client library such as pynetbox. --> ### Steps to Reproduce 1. Open following url: [https://master.netbox.dev/ipam/services/?sort=parent](https://master.netbox.dev/ipam/services/?sort=parent) or 2. Navigate IPAM -> Services and click on Parent to sort <!-- What did you expect to happen? --> ### Expected Behavior Sort by Parent Field. <!-- What happened instead? --> ### Observed Behavior ![Screenshot_2020-05-18 Server Error](https://user-images.githubusercontent.com/61692489/82185616-c8affc80-98e9-11ea-96bc-7e0ad93565b9.png) <class 'django.core.exceptions.FieldError'> Cannot resolve keyword 'parent' into field. Choices are: created, custom_field_values, description, device, device_id, id, ipaddresses, last_updated, name, port, protocol, tagged_items, tags, virtual_machine, virtual_machine_id
adam added the status: duplicate label 2025-12-29 18:30:40 +01:00
adam closed this issue 2025-12-29 18:30:40 +01:00
Author
Owner

@hoalex commented on GitHub (May 18, 2020):

Duplicate of #4644.

@hoalex commented on GitHub (May 18, 2020): Duplicate of #4644.
Author
Owner

@wfr1 commented on GitHub (May 18, 2020):

Sorry, searched for this problem, but completely missed it. Thx for your continous effort.

@wfr1 commented on GitHub (May 18, 2020): Sorry, searched for this problem, but completely missed it. Thx for your continous effort.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3698