Skip to content

Import page breaks when an object custom field exists #17354

@duckw

Description

@duckw

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'

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: 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