From dda11ec69ef552f0198c62eed83401aaec235f8f Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Wed, 8 Dec 2021 11:35:50 -0500 Subject: [PATCH] Fixes #8003: Fix cable tracing across bridged interfaces with no cable --- docs/release-notes/version-3.1.md | 1 + netbox/dcim/models/device_components.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/version-3.1.md b/docs/release-notes/version-3.1.md index 671d167e7..c7ac990c5 100644 --- a/docs/release-notes/version-3.1.md +++ b/docs/release-notes/version-3.1.md @@ -7,6 +7,7 @@ * [#7990](https://github.com/netbox-community/netbox/issues/7990) - Fix `title` display on contact detail view * [#7996](https://github.com/netbox-community/netbox/issues/7996) - Show WWN field in interface creation form * [#8001](https://github.com/netbox-community/netbox/issues/8001) - Correct verbose name for wireless LAN group model +* [#8003](https://github.com/netbox-community/netbox/issues/8003) - Fix cable tracing across bridged interfaces with no cable * [#8005](https://github.com/netbox-community/netbox/issues/8005) - Fix contact email display * [#8010](https://github.com/netbox-community/netbox/issues/8010) - Allow filtering devices by multiple serial numbers diff --git a/netbox/dcim/models/device_components.py b/netbox/dcim/models/device_components.py index 75363b4f0..e105bd804 100644 --- a/netbox/dcim/models/device_components.py +++ b/netbox/dcim/models/device_components.py @@ -193,7 +193,7 @@ class PathEndpoint(models.Model): while origin is not None: if origin._path is None: - return path + break path.extend([origin, *origin._path.get_path()]) while (len(path) + 1) % 3: