Procházet zdrojové kódy

Merge pull request #6061 from netbox-community/develop

Release v2.10.8
Jeremy Stretch před 4 roky
rodič
revize
3d286fbdc3

+ 8 - 0
docs/release-notes/version-2.10.md

@@ -1,5 +1,13 @@
 # NetBox v2.10
 
+## v2.10.8 (2021-03-26)
+
+### Bug Fixes
+
+* [#6060](https://github.com/netbox-community/netbox/issues/6060) - Fix exception on cable trace in UI (regression from #5650)
+
+---
+
 ## v2.10.7 (2021-03-25)
 
 ### Enhancements

+ 1 - 1
netbox/dcim/views.py

@@ -2135,7 +2135,7 @@ class PathTraceView(generic.ObjectView):
                 path = related_paths.first()
 
         # Get the total length of the cable and whether the length is definitive (fully defined)
-        total_length, is_definitive = path.get_total_length if path else (None, False)
+        total_length, is_definitive = path.get_total_length() if path else (None, False)
 
         return {
             'path': path,

+ 1 - 1
netbox/netbox/settings.py

@@ -16,7 +16,7 @@ from django.core.validators import URLValidator
 # Environment setup
 #
 
-VERSION = '2.10.7'
+VERSION = '2.10.8'
 
 # Hostname
 HOSTNAME = platform.node()

+ 2 - 2
requirements.txt

@@ -9,8 +9,8 @@ django-prometheus==2.1.0
 django-rq==2.4.0
 django-tables2==2.3.4
 django-taggit==1.3.0
-django-timezone-field==4.1.1
-djangorestframework==3.12.2
+django-timezone-field==4.1.2
+djangorestframework==3.12.4
 drf-yasg[validation]==1.20.0
 gunicorn==20.0.4
 Jinja2==2.11.3