From 29973ba516365d9dc8e05f098eacb62c6a871a74 Mon Sep 17 00:00:00 2001 From: Dennis Kliban Date: Tue, 4 Sep 2018 12:40:33 -0400 Subject: [PATCH] Problem: suffix field is required in the serializer, but can be '' Solution: set allow_blank=True in the serializer closes: #3964 https://pulp.plan.io/issues/3964 --- pulpcore/pulpcore/app/serializers/progress.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pulpcore/pulpcore/app/serializers/progress.py b/pulpcore/pulpcore/app/serializers/progress.py index d298691fa8..3dbc2535d7 100755 --- a/pulpcore/pulpcore/app/serializers/progress.py +++ b/pulpcore/pulpcore/app/serializers/progress.py @@ -28,7 +28,8 @@ class ProgressReportSerializer(ModelSerializer): ) suffix = serializers.CharField( help_text=_("The suffix to be shown with the progress report."), - read_only=True + read_only=True, + allow_blank=True ) task = RelatedField( help_text=_("The task associated with this progress report."),