Project

Profile

Help

Task #3428

closed

Update content unit creation so it takes only a relative_path and artifact href

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

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 33
Quarter:

Description

There were a number of bugs around creating file content units:

https://pulp.plan.io/issues/3425 - Path and ContentArtifact.relative_path could be different
https://pulp.plan.io/issues/3422 - Content units could be created with multiple artifacts
https://pulp.plan.io/issues/3423 - Anything could be specified for digest

To resolve these bugs, we decided to only accept path and artifact href when creating file content units.


Related issues

Has duplicate File Support - Issue #3425: Path on content unit doesn't seem to do anythingCLOSED - DUPLICATEActions
Has duplicate File Support - Issue #3422: It's possible to create a file content unit with multiple artifactsCLOSED - DUPLICATEActions
Has duplicate File Support - Issue #3423: No validation or documentation for digest field on file contentCLOSED - DUPLICATEActions

Also available in: Atom PDF