Skip to content

Cannot import or clone a Cable #11210

@Qwiko

Description

@Qwiko

NetBox version

v3.4.0

Python version

3.9

Steps to Reproduce

  1. Import Cables
  2. Add data to import a cable
  3. Click Import

Expected Behavior

A cable should be created.

Observed Behavior

A ValueError was raised.
Creating a cable through the UI is done successfully.
Using the API creates the same error as importing.

<class 'ValueError'>

'Cable' instance needs to have a primary key value before this relationship can be used.

Python version: 3.9.2
NetBox version: 3.4.0

There seems to also be an issue with Cloning a Cable:
When you click Clone on a Cable you recieve this error:

<class 'AttributeError'>

'str' object has no attribute 'label'

Python version: 3.9.2
NetBox version: 3.4.0

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtopic: cablingtype: 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