Custom fields default value on Objects from modules are not set #17820
Labels
netbox
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
Triage priority
N/A
NetBox Version
v4.1.4
Python Version
3.12
Steps to Reproduce
2.Create a module type with a few interfaces.
Create a device, create a module bay on this device.
Connect a module with the module type
Now, we have the interfaces from the type module that have been added to the device.
And if we see an Interface:
We can see that the default value has not been set.
"custom_fields": {
"My_CF": null
},
Note that in devices with device_type, interface custom fields (for example) are set to the default value
Expected Behavior
We should have the default value and not null. on the same way as on a device type with interfaces, when the device is created, there will be the default value on the interfaces custom field.
Observed Behavior
Interfaces that are created when the module is connected to a device, the default values of custom fields are not set to their default values.
The text was updated successfully, but these errors were encountered: