Import page breaks when an object custom field exists #10179

Closed
opened 2025-12-29 21:27:51 +01:00 by adam · 0 comments
Owner

Originally created by @duckw on GitHub (Sep 4, 2024).

Originally assigned to: @arthanson on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.1.0

Python Version

3.10

Steps to Reproduce

This has been reproduced on https://demo.netbox.dev/

  1. Create a custom field with the following parameters:
    a) Object types: DCIM > Device
    b) Name: test1
    c) Type: Object
    d) Related object type: DCIM > Site
  2. Browse to https://demo.netbox.dev/dcim/devices/import/

Expected Behavior

Page should load without error

Observed Behavior

Page fails to load with message:
<class 'TypeError'>

Field.init() got an unexpected keyword argument 'query_params'

Originally created by @duckw on GitHub (Sep 4, 2024). Originally assigned to: @arthanson on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.1.0 ### Python Version 3.10 ### Steps to Reproduce This has been reproduced on https://demo.netbox.dev/ 1. Create a custom field with the following parameters: a) Object types: DCIM > Device b) Name: test1 c) Type: Object d) Related object type: DCIM > Site 2. Browse to https://demo.netbox.dev/dcim/devices/import/ ### Expected Behavior Page should load without error ### Observed Behavior Page fails to load with message: <class 'TypeError'> Field.__init__() got an unexpected keyword argument 'query_params'
adam added the type: bugstatus: acceptedseverity: medium labels 2025-12-29 21:27:51 +01:00
adam closed this issue 2025-12-29 21:27:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10179