Closed
Description
Environment
- Python version: 3.6.8
- NetBox version: 2.10.3
Steps to Reproduce
- Create custom field.
- Create appropriate object (device/ip address...) and fill the custom field with data.
- Change name of custom field and see that appropriate field in object is empty.
- (Optionally) Change back the name and see that the data is back.
Expected Behavior
After changing the name of custom field data is also migrated.
Observed Behavior
Data is still linked with old name.
Looking at the database the data is still there with associated old name. Seems like name change doesn't make sure that the appropriate data is migrated to the field under new name. For sure affects devices and ip addresses, probably all objects with custom fields.