-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: 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
Description
Environment
- Python version: 3.9.1
- NetBox version: 2.10.2
Steps to Reproduce
- Try to update import and/or export route targets on a VRF using the API
PATCH /api/ipam/vrfs/1/
{
"import_targets": [1]
}
Expected Behavior
The route target is associated with the VRF.
Observed Behavior
NetBox returns HTTP 500 with the following
{
"error": "The `.update()` method does not support writable nested fields by default.\nWrite an explicit `.update()` method for serializer `ipam.api.serializers.VRFSerializer`, or set `read_only=True` on nested serializer fields.",
"exception": "AssertionError",
"netbox_version": "2.10.2",
"python_version": "3.9.1"
}Metadata
Metadata
Assignees
Labels
status: 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