Trailing Semi-Colon Creates Empty Pattern in Topolgy Maps #1162

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

Originally created by @bdlamprecht on GitHub (Aug 9, 2017).

Issue type:

Bug

Python version:
2.7.12
NetBox version:
2.1.2

When creating topology-maps in the admin page, if you leave a trailing semi-colon (;), when that map is accessed, it will display ALL devices within the NetBox DB on a single line (those that weren't already specifically included).

For example:

^rtp-vba-[ab]
^rtp-vsc-[ab]
^rtp-v[diosw]d-\d[ab];

This will create a very-long list of devices due to the fact that there is a trailing semi-colon on line 3.
I believe if the regex-pattern is blank, it should be ignored.

Originally created by @bdlamprecht on GitHub (Aug 9, 2017). ### Issue type: Bug **Python version:** 2.7.12 **NetBox version:** 2.1.2 When creating topology-maps in the admin page, if you leave a trailing semi-colon (`;`), when that map is accessed, it will display *ALL* devices within the NetBox DB on a single line (those that weren't already specifically included). For example: ``` ^rtp-vba-[ab] ^rtp-vsc-[ab] ^rtp-v[diosw]d-\d[ab]; ``` This will create a very-long list of devices due to the fact that there is a trailing semi-colon on line 3. I believe if the regex-pattern is blank, it should be ignored.
adam added the type: bug label 2025-12-29 16:29:38 +01:00
adam closed this issue 2025-12-29 16:29:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1162