Device LLDP neighbors fail to populate when one or more local interface names contain a colon #1774

Closed
opened 2025-12-29 17:19:01 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jun 7, 2018).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3.3

Description

There is a bug in the Javascript on the device LLDP neighbors page which prevents the neighbor list from rendering if one or more local interfaces has a colon (:) in its name. The unescaped colon yields a syntax error when using jQuery to select the row element:

Syntax error, unrecognized expression: unsupported pseudo: 0

Note that this exists on the front end only; the actual API call is not impacted and will work when accessed directly.

Originally created by @jeremystretch on GitHub (Jun 7, 2018). ### Issue type [ ] Feature request <!-- An enhancement of existing functionality --> [x] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.2 * NetBox version: 2.3.3 ### Description There is a bug in the Javascript on the device LLDP neighbors page which prevents the neighbor list from rendering if one or more local interfaces has a colon (`:`) in its name. The unescaped colon yields a syntax error when using jQuery to select the row element: ``` Syntax error, unrecognized expression: unsupported pseudo: 0 ``` Note that this exists on the front end only; the actual API call is not impacted and will work when accessed directly.
adam added the type: bugstatus: accepted labels 2025-12-29 17:19:01 +01:00
adam closed this issue 2025-12-29 17:19:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1774