Project

Profile

Help

Task #7546

closed

Validate unknown fields

Added by lmjachky about 2 years ago. Updated 10 months ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_container/475":https://github.com/pulp/pulp_container/issues/475


At the moment, we do not validate unknown fields in serializers. For example, this call is executed without any errors:

http :24817/pulp/api/v3/repositories/container/container/bb221b58-bcfa-45ae-96ea-363ca381da47/tag/ tag="tag" digest=$MANIFEST_DIGEST blabla="halabala"

I propose to add the validation by leveraging pulpcore.plugin.serializers.ValidateFieldsMixin.

Actions #1

Updated by pulpbot 10 months ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF