Cloning boolean custom fields does not work if their value is False
#17096
Labels
netbox
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
Deployment Type
Self-hosted
NetBox Version
v4.0.8
Python Version
3.11
Steps to Reproduce
ipam.IPAddress
False
for an arbitraryIPAddress
object and click on 'Save'Expected Behavior
The cloned object has its 'test' CF set to
False
Observed Behavior
The cloned object has its 'test' CF set to
None
If you look at the parameters of the URL for the 'Clone' button, the relevant part is
test=
. This is identical whether the CF 'test' wasFalse
for the original object or if it was undefined.This is particularly relevant for required fields, as it makes it necessary to set the field explicitly for cloned objects even if cloning the field was enabled.
The text was updated successfully, but these errors were encountered: