Execption on clonning an object with a multiple selection custom field #8698

Closed
opened 2025-12-29 20:40:04 +01:00 by adam · 1 comment
Owner

Originally created by @mmfreitas on GitHub (Oct 2, 2023).

NetBox version

v3.6.3

Python version

3.9

Steps to Reproduce

  1. Create a custom field choice set with data ("one","two","three")
  2. Create a custom field of Multiple Selection, assigned to objects Prefix Object Types, make it hidden (if unset) and cloneable.
  3. Attempt to clone a prefix, or to "Create and add other" (No need to fill the custom field").

Expected Behavior

Clone the field sucessfully, even if it's empty.

Observed Behavior

Error get's thrown.

<class 'TypeError'>

'in <string>' requires string as left operand, not NoneType

Originally created by @mmfreitas on GitHub (Oct 2, 2023). ### NetBox version v3.6.3 ### Python version 3.9 ### Steps to Reproduce 1. Create a custom field choice set with data ("one","two","three") 2. Create a custom field of Multiple Selection, assigned to objects Prefix Object Types, make it hidden (if unset) and cloneable. 3. Attempt to clone a prefix, or to "Create and add other" (No need to fill the custom field"). ### Expected Behavior Clone the field sucessfully, even if it's empty. ### Observed Behavior Error get's thrown. ``` <class 'TypeError'> 'in <string>' requires string as left operand, not NoneType ```
adam added the status: duplicate label 2025-12-29 20:40:04 +01:00
adam closed this issue 2025-12-29 20:40:04 +01:00
Author
Owner

@abhi1693 commented on GitHub (Oct 2, 2023):

Duplicate of #13909

@abhi1693 commented on GitHub (Oct 2, 2023): Duplicate of #13909
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8698