read-only custom field can be set to Null using bulk update #7504

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

Originally created by @PieterL75 on GitHub (Jan 13, 2023).

Originally assigned to: @arthanson on GitHub.

NetBox version

v3.3.10

Python version

3.9

Steps to Reproduce

Create a custom field with and set it to 'read only'
assign the fc to a device
have the field populated (api, nbshell, pynetbox,...)
go to the device list page
check the box in front of the device
click the 'Edit Selected' button.
Under the CF field that is set to RO, there is still a 'Set to Null' checkbox,
check the box and save

Expected Behavior

no checkbox is present
checking the box should no do anything

Observed Behavior

The data form the readonly field was deleted.
a 'set to null' checkbox is present, even for the RO CF
image

Originally created by @PieterL75 on GitHub (Jan 13, 2023). Originally assigned to: @arthanson on GitHub. ### NetBox version v3.3.10 ### Python version 3.9 ### Steps to Reproduce Create a custom field with and set it to 'read only' assign the fc to a device have the field populated (api, nbshell, pynetbox,...) go to the device list page check the box in front of the device click the 'Edit Selected' button. Under the CF field that is set to RO, there is still a 'Set to Null' checkbox, check the box and save ### Expected Behavior no checkbox is present checking the box should no do anything ### Observed Behavior The data form the readonly field was deleted. a 'set to null' checkbox is present, even for the RO CF ![image](https://user-images.githubusercontent.com/74899468/212335076-e5279346-e3d6-4b9d-b7fc-cd2157d6d984.png)
adam added the type: bugstatus: accepted labels 2025-12-29 20:24:27 +01:00
adam closed this issue 2025-12-29 20:24:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7504