Server error when Multiple object custom field is selected in Table configuration #6180

Closed
opened 2025-12-29 19:37:46 +01:00 by adam · 0 comments
Owner

Originally created by @bT0mm on GitHub (Mar 7, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.2.0-beta1

Python version

3.8

Steps to Reproduce

I did this on beta-demo.netbox.dev on 2022-03-07 on prefix 10.112.128.0/28

  1. Create custom field with assigned model 'ipam | prefix', type 'multiple objects', 'object type' is 'DCIM | device'
  2. Go to IPAM, Prefixes, edit a Prefix, add two objects (devices) on created custom field, save
  3. Go to IPAM, Prefixes, Configure Table, add created custom filed in selected columns, Save
  4. Refresh page

Expected Behavior

Every objects should be displayed, similar to what is shown on VLAN table with multiple Prefixes

Observed Behavior

Server Error

There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'TypeError'>

sequence item 0: expected str instance, int found

Python version: 3.8.10
NetBox version: 3.2.0-beta1

Originally created by @bT0mm on GitHub (Mar 7, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.2.0-beta1 ### Python version 3.8 ### Steps to Reproduce I did this on beta-demo.netbox.dev on 2022-03-07 on prefix 10.112.128.0/28 1. Create custom field with assigned model 'ipam | prefix', type 'multiple objects', 'object type' is 'DCIM | device' 2. Go to IPAM, Prefixes, edit a Prefix, add two objects (devices) on created custom field, save 3. Go to IPAM, Prefixes, Configure Table, add created custom filed in selected columns, Save 4. Refresh page ### Expected Behavior Every objects should be displayed, similar to what is shown on VLAN table with multiple Prefixes ### Observed Behavior Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'TypeError'> sequence item 0: expected str instance, int found Python version: 3.8.10 NetBox version: 3.2.0-beta1
adam added the type: bugstatus: acceptedbeta labels 2025-12-29 19:37:46 +01:00
adam closed this issue 2025-12-29 19:37:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6180