Attaching a cloneable multi selection custom field with custom field choices breaks the Clone function #13909
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.6.3
Python version
3.9
Steps to Reproduce
<class 'TypeError'> 'in <string>' requires string as left operand, not NoneType
Expected Behavior
I would expect the object to be cloneable when I use custom fields of the multiple selection type with the cloneable option enabled.
Observed Behavior
<class 'TypeError'>'in <string>' requires string as left operand, not NoneType
occurs whenever trying to clone any object that uses a multiple selection custom field where "is cloneable" is enabled.This worked fine in 3.5.9, so it seems it is probably related to the new custom field choices object introduced in 3.6.0.
The workaround for now is to disable "is cloneable" on all multiple selection custom fields until the cause of the error is fixed.
The text was updated successfully, but these errors were encountered: