Actions
Issue #7245
closedUnexpected param error not being returned
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:
Description
The unexpected param error is not being returned on some endpoints.
$ http :/pulp/api/v3/repositories/rpm/rpm/ name=hello ok=world
{
"ok": [
"Unexpected field"
]
}
$ http :/pulp/api/v3/repositories/rpm/rpm/57faa011-c78f-476f-9283-848425b2118f/sync/ remote=/pulp/api/v3/remotes/rpm/rpm/5e25532f-5d72-4929
-92ad-732e6e37d895/ hello=world
{
"task": "/pulp/api/v3/tasks/5382171f-a9d1-47d1-ac16-6843f4b53c4d/"
}
Updated by fao89 over 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 78
Updated by lmjachky over 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to lmjachky
Updated by pulpbot over 4 years ago
- Status changed from ASSIGNED to POST
Added by Lubos Mjachky over 4 years ago
Updated by Anonymous over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|e283bc846ec73b613438f88d625f7a5715e4f390.
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Validate unknown fields
All serializers which inherit from the base DRF serializer and are used in a ViewSet should now validate unknown query parameters.
closes #7245