Actions
Issue #3671
closedCan't unset publication on distribution
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Sprint 37
Quarter:
Description
You can create a distribution without a publication but once you set publication on a distribution, you can't unset it.
$ http POST :8000/pulp/api/v3/distributions/ name=test base_path=test
# 200
$ http PATCH :8000/pulp/api/v3/distributions/320f93b3-79e4-4425-ba99-15338284979c/ publication=/pulp/api/v3/publications/6529920f-9507-4ec0-bb09-50afa31b1685/
# 200
$ http PATCH :8000/pulp/api/v3/distributions/320f93b3-79e4-4425-ba99-15338284979c/ publication=
# 400
{
"publication": [
"This field may not be null."
]
}
Updated by daviddavis over 6 years ago
- Status changed from NEW to POST
Updated by dalley over 6 years ago
- Assignee set to daviddavis
- Triaged changed from No to Yes
- Sprint set to Sprint 37
Added by daviddavis over 6 years ago
Added by daviddavis over 6 years ago
Revision 902aff6b | View on GitHub
Allowing publication to be unset on distributions
The problem is you can create distributions without publications but you can't unset a publication on a distribution once it is set.
Updated by daviddavis over 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|902aff6b6a005d361eb7ac02a04f99bd4bd23be3.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Allowing publication to be unset on distributions
The problem is you can create distributions without publications but you can't unset a publication on a distribution once it is set.
fixes #3671 https://pulp.plan.io/issues/3671