Actions
Issue #8770
closedPackage validation fails if package paragraphs contain keys without values
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
pulp_worker_1 | pulp [480b66bac84f441e969095f0f132c3a1]: rq.worker:ERROR: Traceback (most recent call last):
pulp_worker_1 | File "/usr/local/lib/python3.9/site-packages/rq/worker.py", line 1013, in perform_job
pulp_worker_1 | rv = job.perform()
pulp_worker_1 | File "/usr/local/lib/python3.9/site-packages/rq/job.py", line 709, in perform
pulp_worker_1 | self._result = self._execute()
pulp_worker_1 | File "/usr/local/lib/python3.9/site-packages/rq/job.py", line 732, in _execute
pulp_worker_1 | result = self.func(*self.args, **self.kwargs)
pulp_worker_1 | File "/usr/local/lib/python3.9/site-packages/pulpcore/app/tasks/base.py", line 34, in general_create
pulp_worker_1 | serializer.is_valid(raise_exception=True)
pulp_worker_1 | File "/usr/local/lib/python3.9/site-packages/rest_framework/serializers.py", line 228, in is_valid
pulp_worker_1 | raise ValidationError(self.errors)
pulp_worker_1 | rest_framework.exceptions.ValidationError: {'section': [ErrorDetail(string='This field may not be blank.', code='blank')], 'priority': [ErrorDetail(string='This field may not be blank.', code='blank')]}
pulp_worker_1 |
I used the DRF form to upload content (/pulp/api/v3/content/deb/packages/
). I also tried adding content by linking an artifact instead but the error is the same.
Related issues
Actions
Drop package paragraph fields without values
closes #8770 https://pulp.plan.io/issues/8770