Skip to content

Cable still not tracing when creating frontports after connecting rearport #10969

Closed
@PaulR282

Description

@PaulR282

NetBox version

v3.3.8

Python version

3.10

Steps to Reproduce

In addition to #10237. While experimenting I was able to reproduce the problem (in v3.3.8 and v3.4-beta1) and now know why you couldn't reproduce it. My steps to reproduce were wrong.

  1. Create 2 devices with interfaces (switches 1 and 2)
  2. Create 2 devices with no components (patchpanel 1 and 2)
  3. Create a rearport in both patchpanel
  4. Create a frontport in patchpanel 1 and map it to the rearport
  5. Connect the rearports
  6. Connect the only existing frontport to an interface of switch 1
    -> Through looking in the database I found out that now the first trace gets created (i->fp->rp->rp)
  7. Create a frontport on patchpanel 2 and map it to the rearport
  8. Connect this frontport to an interface of switch 2
    -> Now the Second trace gets created (i->fp->rp->rp->fp->i)

If you do it as I said in #10237, the trace gets created when the frontports are already mapped to the rearport, resulting in 2 complete paths and avoiding this bug.

Expected Behavior

When mapping the second frontport to a rearport the trace should get extended.

Observed Behavior

The first trace keeps link i->fp->rp->rp. This way the trace is only in one direction complete.

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