Skip to content

KeyError: parent when accessing IP Address List #5091

@tscs37

Description

@tscs37

Environment

  • Python version: 3.7.9
  • NetBox version: 2.9.2
  • Docker Image: netboxcommunity/netbox:2.9.2-ldap

Steps to Reproduce

  1. Setup Netbox 2.8.9
  2. Fill in IP Addresses
  3. Set the table to display the "Parent" column or create a user setting like this:
tables.IPAddressDetailTable.columns: ['address', 'vrf', 'status', 'role', 'tenant', 'assigned', 'dns_name', 'description', 'parent']
  1. Upgrade to 2.9.x
  2. The parent column no longer exists, Netbox produces an error and does not indicate this is related to a bad user setting

Expected Behavior

A list of IP Addresses is shown, Netbox either warns the user that their table configuration is now invalid or clears the invalid column from the user settings.

Observed Behavior

Netbox shows an error page:

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'KeyError'>

'parent'

Python version: 3.7.9
NetBox version: 2.9.2
If further assistance is required, please post to the NetBox mailing list.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions