"Invalid data" error on certain nested API serializers #2310
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
Steps to Reproduce
This is an extension of the issue reported in #2299 during the v2.4 beta. Several nested API serializers have been identified as improperly handling posted data. Specifically, they expect a dictionary representation of an object rather than an integer (primary key). For example:
The following models and fields have been identified as affected by this bug:
cluster
,primary_ip4
,primary_ip6
,virtual_chassis
primary_ip4
,primary_ip6
Expected Behavior
The device should be assigned to the specified cluster.
Observed Behavior
The request yields the following validation error:
The text was updated successfully, but these errors were encountered: