Skip to content

Toggling cable from installed, to planned back to installed breaks cable tracing. #5488

@jchristopher327

Description

@jchristopher327

Environment

  • Python version: 3.9.1
  • NetBox version: 2.10.1

After I connect an interface to another interface or rear port (have only tested these two), then toggle the cable from installed, to planned and back to installed, cable tracing breaks with the following error.

<class 'dcim.models.cables.CablePath.DoesNotExist'>

CablePath matching query does not exist.

Python version: 3.9.1
NetBox version: 2.10.1

Steps to Reproduce

  1. Connect cable to another interface or rear port. Cable tracking works.
  2. Mark cable as planned. Cable tracking works and shows cable as planned.
  3. Mark cable as installed. Cable tracing breaks with the error shown above.

Expected Behavior

Expect that toggling the cable between planned and installed doesn't break tracing.

Observed Behavior

Toggling the cable from installed, to planned back to installed breaks cable tracing.

A side note, I think the icon for a connected and planned cable should be swapped.

Connected cable icon.

Screen Shot 2020-12-17 at 12 48 46 PM

Planned cable icon.

Screen Shot 2020-12-17 at 12 49 00 PM

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions