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

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

Open
marcusyuri opened this issue Jan 27, 2025 · 1 comment · May be fixed by #18532
Open

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

marcusyuri opened this issue Jan 27, 2025 · 1 comment · May be fixed by #18532
Assignees
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@marcusyuri
Copy link

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

@marcusyuri marcusyuri added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Jan 27, 2025
@bctiemann bctiemann added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation severity: low Does not significantly disrupt application functionality, or a workaround is available and removed status: needs triage This issue is awaiting triage by a maintainer labels Jan 27, 2025
@bctiemann
Copy link
Contributor

This will probably be a similar fix to #18351

@bctiemann bctiemann self-assigned this Jan 29, 2025
@bctiemann bctiemann added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity: low Does not significantly disrupt application functionality, or a workaround is available status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants