Issue #2947
Notes field on the Repository model should default to {}
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 24
Quarter:
Description
$ http POST http://127.0.0.1:8000/api/v3/repositories/ name=file_repo
HTTP/1.0 400 Bad Request
Allow: GET, POST, HEAD, OPTIONS
Content-Length: 78
Content-Type: application/json
Date: Sat, 29 Jul 2017 12:00:46 GMT
Server: WSGIServer/0.2 CPython/3.5.3
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{
"notes": [
"This field is required."
],
"scratchpad": [
"This field is required."
]
}
It should be possible to create repo with just name
provided.
Scratchpad
field will be removed in #2817.
Related issues
History
#1
Updated by ttereshc over 3 years ago
- Subject changed from Notes and Scratchpad fileds are required for repo creation to Notes and Scratchpad fields are required for repo creation
#2
Updated by bmbouter over 3 years ago
Why do we have these fields? I thought we were planning to delete them. Are they currently used anywhere?
#3
Updated by bizhang over 3 years ago
- Related to Task #2817: Remove Scratchpad from Pulp 3 added
#4
Updated by ttereshc over 3 years ago
- Subject changed from Notes and Scratchpad fields are required for repo creation to Notes field on the Repository model should default to {}
- Description updated (diff)
- Triaged changed from No to Yes
#5
Updated by mhrivnak over 3 years ago
- Priority changed from Normal to Low
- Sprint/Milestone set to 43
#6
Updated by daviddavis over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
#7
Updated by daviddavis over 3 years ago
- Status changed from ASSIGNED to POST
#8
Updated by amacdona@redhat.com over 3 years ago
- Related to Issue #2977: Attributes on KeyValueRelatedFields are not used by DRF added
#9
Updated by daviddavis over 3 years ago
- Status changed from POST to CLOSED - WONTFIX
#10
Updated by bmbouter almost 3 years ago
- Sprint set to Sprint 24
#11
Updated by bmbouter almost 3 years ago
- Sprint/Milestone deleted (
43)
#12
Updated by daviddavis almost 2 years ago
- Sprint/Milestone set to 3.0.0
#13
Updated by bmbouter over 1 year ago
- Tags deleted (
Pulp 3)
Please register to edit this issue