Inches conversion wrong in cable trace #8150

Closed
opened 2025-12-29 20:33:07 +01:00 by adam · 0 comments
Owner

Originally created by @Maelstrom96 on GitHub (May 31, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.5.2

Python version

3.8

Steps to Reproduce

Create 2 cable and connect them using a device with front/back ports.
Cable 1 has its length in inches.
Cable 2 has its length in feet.

Total length is wrong.

image

If both my length are in feet, it seems to work as expected :

image

Expected Behavior

Total length should be :
Total length | 8.08 Meters / 26.50 Feet

Observed Behavior

Total length is :
Total length | 29.87 Meters / 98.00 Feet

Originally created by @Maelstrom96 on GitHub (May 31, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.5.2 ### Python version 3.8 ### Steps to Reproduce Create 2 cable and connect them using a device with front/back ports. Cable 1 has its length in inches. Cable 2 has its length in feet. Total length is wrong. ![image](https://github.com/netbox-community/netbox/assets/9983268/271f7cd2-02bb-4c31-8af9-bd646386b742) If both my length are in feet, it seems to work as expected : ![image](https://github.com/netbox-community/netbox/assets/9983268/303e4224-9907-4066-bea7-7f9626ee188e) ### Expected Behavior Total length should be : `Total length | 8.08 Meters / 26.50 Feet` ### Observed Behavior Total length is : `Total length | 29.87 Meters / 98.00 Feet`
adam added the type: bugstatus: accepted labels 2025-12-29 20:33:07 +01:00
adam closed this issue 2025-12-29 20:33:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8150