Skip to content

Sort by MAC address crashes "interfaces" tab view... #18447

@christophenouvel

Description

@christophenouvel

Deployment Type

Self-hosted

NetBox Version

v4.2.2

Python Version

3.11

Steps to Reproduce

  1. Once logged in, clic "virtualization",
  2. clic "Virtual machines"
  3. clic a VM name which owns more than one interface (in order to be able to sort)
  4. clic "interfaces"
  5. clic to sort by "mac address".
    It's dead, you can not come back to ani "interfaces" tab anymore 👍

Expected Behavior

View "interfaces" tab like before MAC ADDRESS became an object.

Observed Behavior

Server Error

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

The complete exception is provided below:

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

Cannot resolve keyword 'mac_address' into field. Choices are: _name, bookmarks, bridge, bridge_id, bridge_interfaces, child_interfaces, created, custom_field_data, description, enabled, fhrp_group_assignments, id, ip_addresses, journal_entries, l2vpn_terminations, last_updated, mac_addresses, mode, mtu, name, parent, parent_id, primary_mac_address, primary_mac_address_id, qinq_svlan, qinq_svlan_id, subscriptions, tagged_items, tagged_vlans, tags, tunnel_terminations, untagged_vlan, untagged_vlan_id, virtual_machine, virtual_machine_id, vlan_translation_policy, vlan_translation_policy_id, vrf, vrf_id

Python version: 3.11.2
NetBox version: 4.2.2
Plugins: None installed

If further assistance is required, please post to the NetBox discussion forum on GitHub.
Home Page

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions