Project

Profile

Help

Issue #3671

Can't unset publication on distribution

Added by daviddavis over 1 year ago. Updated 6 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 37

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." 
    ]
}

Associated revisions

Revision 902aff6b View on GitHub
Added by daviddavis over 1 year ago

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

Revision 902aff6b View on GitHub
Added by daviddavis over 1 year ago

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

Revision 902aff6b View on GitHub
Added by daviddavis over 1 year ago

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

History

#1 Updated by daviddavis over 1 year ago

  • Status changed from NEW to POST

#2 Updated by dalley over 1 year ago

  • Assignee set to daviddavis
  • Triaged changed from No to Yes
  • Sprint set to Sprint 37

#3 Updated by daviddavis over 1 year ago

  • Status changed from POST to MODIFIED

#4 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#5 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF