-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Milestone
Description
Deployment Type
Self-hosted
NetBox Version
v4.3.7
Python Version
3.12
Steps to Reproduce
- Create a new custom field
test_configof typeJSONwith default value{}(empty dict) and assign it to virtual machines. - Create a new virtual machine but leave the
test_configcustom field blank. - Virtual machine is created, but
test_configis set tonullinstead of empty dict{}
Expected Behavior
The default value should be set to an empty dict {} instead of null
Observed Behavior
The default value was set to null
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application