Skip to content

Global Search generates exception when search string matches virtual circuit id #18497

Closed
@marcusyuri

Description

@marcusyuri

Deployment Type

Self-hosted

NetBox Version

v4.2.2

Python Version

3.10

Steps to Reproduce

  1. Create a Virtual Circuit Type (ex: Leased Line)
  2. Create a Provider (ex: Level 3)
  3. Create a Provider Network (Ex: Level 3 MPLS)
  4. Create a new Virtual Circuit and fill circuit id with some string (ex: 12345)

Image

  1. Use global search and find by circuit id:

Expected Behavior

The search returns with the virtual circuit object

Observed Behavior

An exception happens:

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

VirtualCircuit has no field named 'provider'

Python version: 3.10.14
NetBox version: 4.2.0
Plugins:
netbox_demo: 0.5.0

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: 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