Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV Cable Import causes a ValueError #371

Closed
sirtux opened this issue Apr 26, 2021 · 3 comments · Fixed by #1297
Closed

CSV Cable Import causes a ValueError #371

sirtux opened this issue Apr 26, 2021 · 3 comments · Fixed by #1297
Labels
type: bug Something isn't working as expected

Comments

@sirtux
Copy link
Contributor

sirtux commented Apr 26, 2021

Environment

  • Python version: 3.8.5
  • Nautobot version: 1.0.0b4

Steps to Reproduce

  1. Go to import cables
  2. Try to enter something like:
side_a_device,side_a_name,side_b_device,side_b_name,status,side_a_type,side_b_type,type,length,length_unit,color
DH01-A-06-17,eth0,DH01-A-06-28,swp31,active,dcim.interface,dcim.interface,cat5e,2,m,0000ff

Expected Behavior

Cables are imported

Observed Behavior

<class 'ValueError'>

'CableCSVForm' has no field named 'termination_a_id'.

@glennmatthews
Copy link
Contributor

Thanks for the report! Possibly related to #311 as well?

@jathanism
Copy link
Contributor

Sure seems like those two are related. Thanks!

@glennmatthews
Copy link
Contributor

Needs some investigation to see whether this can be simply fixed by correcting some error in the CSV import code specific for Cables, or whether it's part of a more general import/export pattern problem of the sort described by #254.

@timizuoebideri1 timizuoebideri1 linked a pull request Jan 24, 2022 that will close this issue
glennmatthews added a commit that referenced this issue Jan 25, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants