RTE While Cable CSV Import if interface type is Virtual 'CableCSVForm' has no field named 'termination_a_id'. #4698

Closed
opened 2025-12-29 19:19:36 +01:00 by adam · 2 comments
Owner

Originally created by @gitstercode on GitHub (Mar 24, 2021).

NetBox version

v2.10.1

Python version

3.8

Steps to Reproduce

  1. in netboxdemo.com click on cable import https://netboxdemo.com/dcim/cables/import/
  2. Give an interface of type virtual, or use below CSV:
    side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name 1701_CORE_SWITCH,dcim.interface,Vlan99,1701_CORE_SWITCH,dcim.interface,Vlan101

Expected Behavior

Expected to throw validation error saying, given interface cannot be connected.

Observed Behavior

'CableCSVForm' has no field named 'termination_a_id'.
Cable Model has a field termination_a_id, but the CableCSVForm doesn't have that field, hence the form not able to recognize the field.
Attached is the screenshot of exception.

Screen Shot 2021-03-24 at 2 38 51 PM
Originally created by @gitstercode on GitHub (Mar 24, 2021). ### NetBox version v2.10.1 ### Python version 3.8 ### Steps to Reproduce 1. in netboxdemo.com click on cable import https://netboxdemo.com/dcim/cables/import/ 2. Give an interface of type virtual, or use below CSV: `side_a_device,side_a_type,side_a_name,side_b_device,side_b_type,side_b_name 1701_CORE_SWITCH,dcim.interface,Vlan99,1701_CORE_SWITCH,dcim.interface,Vlan101` ### Expected Behavior Expected to throw validation error saying, given interface cannot be connected. ### Observed Behavior 'CableCSVForm' has no field named 'termination_a_id'. Cable Model has a field termination_a_id, but the CableCSVForm doesn't have that field, hence the form not able to recognize the field. Attached is the screenshot of exception. <img width="689" alt="Screen Shot 2021-03-24 at 2 38 51 PM" src="https://user-images.githubusercontent.com/22603174/112373182-aa0b5680-8cae-11eb-9140-fafa62b34b69.png">
adam added the type: bug label 2025-12-29 19:19:36 +01:00
adam closed this issue 2025-12-29 19:19:36 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 25, 2021):

Please extend your bug report to enumerate each of the specific steps someone else can take to reproduce the reported behavior on a clean installation. We cannot rely on data in a demo instance, which is subject to change at any time.

@jeremystretch commented on GitHub (Mar 25, 2021): Please extend your bug report to enumerate each of the specific steps someone else can take to reproduce the reported behavior on a clean installation. We cannot rely on data in a demo instance, which is subject to change at any time.
Author
Owner

@jeremystretch commented on GitHub (Apr 8, 2021):

Closing for inactivity.

@jeremystretch commented on GitHub (Apr 8, 2021): Closing for inactivity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4698