custom_field_data doesn't update when data is removed #7930

Closed
opened 2025-12-29 20:30:10 +01:00 by adam · 0 comments
Owner

Originally created by @renatoalmeidaoliveira on GitHub (Apr 20, 2023).

NetBox version

v3.4.4

Python version

3.10

Steps to Reproduce

  1. Create a model
  2. Create and assign a custom field to that model
  3. Add some value to that custom field in some model
  4. Remove the data from the custom field living it empty

Expected Behavior

model.cf['field_name'] == model.custom_field_data['field_name']

Observed Behavior

model.cf['field_name'] != model.custom_field_data['field_name']
Originally created by @renatoalmeidaoliveira on GitHub (Apr 20, 2023). ### NetBox version v3.4.4 ### Python version 3.10 ### Steps to Reproduce 1. Create a model 2. Create and assign a custom field to that model 3. Add some value to that custom field in some model 4. Remove the data from the custom field living it empty ### Expected Behavior ``` model.cf['field_name'] == model.custom_field_data['field_name'] ``` ### Observed Behavior ``` model.cf['field_name'] != model.custom_field_data['field_name'] ```
adam closed this issue 2025-12-29 20:30:10 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7930