django-rest-framework icon indicating copy to clipboard operation
django-rest-framework copied to clipboard

Deserialization error when serializer has `partial=True` and `validate_<attr>` with <attr> not found in `data`

Open tamakisquare opened this issue 13 years ago • 1 comments

The error occurs when serializer is set with partial=True and has field-level validation defined on a field, for which there's no corresponding value in data.

I have written a test to cover this scenario. Will submit it in a PR.

Note this issue was mentioned in Issue 965, which is closed. Nothing, however, was done on solving the issue.

tamakisquare avatar Sep 16 '13 05:09 tamakisquare

Fixed by #1112.

lovelydinosaur avatar Oct 17 '13 14:10 lovelydinosaur