Project

Profile

Help

Issue #3671

closed

Can't unset publication on distribution

Added by daviddavis over 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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."
    ]
}
Actions #1

Updated by daviddavis over 6 years ago

  • Status changed from NEW to POST
Actions #2

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

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.

fixes #3671 https://pulp.plan.io/issues/3671

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.

fixes #3671 https://pulp.plan.io/issues/3671

Actions #3

Updated by daviddavis over 6 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by daviddavis over 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #5

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #6

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF