Project

Profile

Help

Issue #4472

closed

Relative_path error when uploading a file

Added by daviddavis about 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

If you follow the docs to upload a file and create an rpm, you get the following error:

HTTP/1.1 400 Bad Request
Allow: GET, POST, HEAD, OPTIONS
Content-Length: 46
Content-Type: application/json
Date: Tue, 26 Feb 2019 09:27:59 GMT
Server: WSGIServer/0.2 CPython/3.7.2
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN

{
    "_relative_path": [
        "This field is required."
    ]
}

We need to update our code based on https://pulp.plan.io/issues/4394.


Files

clipboard-201912071555-kiqre.png (2.45 KB) clipboard-201912071555-kiqre.png Anonymous, 12/07/2019 11:25 AM

Related issues

Related to Pulp - Issue #4394: Content serializer validate should ensure a saveable objectCLOSED - CURRENTRELEASEmdellwegActions
Related to RPM Support - Issue #4446: multiple test failures on master branchCLOSED - CURRENTRELEASEActions

Also available in: Atom PDF