Project

Profile

Help

Issue #3815

Artifacts that should fail validation can easily be created

Added by mdellweg about 2 years ago. Updated over 1 year ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:

Description

Running the following in pulp-manager shell works, where i think it should not:

from pulpcore.plugin.models import Artifact
a = Artifact()
a.size=3
a.save()

a.file is now <FieldFile: None> and all hashes are empty strings.

History

#1 Updated by CodeHeeler about 2 years ago

  • Triaged changed from No to Yes

#2 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF