Project

Profile

Help

Issue #8541

closed

Documentation on creating a remote is broken

Added by dalley over 3 years ago. Updated over 3 years ago.

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

Description

https://pulp-rpm.readthedocs.io/en/latest/workflows/create_sync_publish.html#create-a-new-remote-bar

The inclusion of the --form parameter causes this to fail on my machine, unfortunately. I get the error:

{                                                                                                                      
    "pulp_labels": [                                                                                                   
        "Data must be supplied as a key/value hash."       
    ]                                                      
}               
Actions #1

Updated by dalley over 3 years ago

  • Tags Documentation added
Actions #2

Updated by daviddavis over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
Actions #3

Updated by daviddavis over 3 years ago

  • Project changed from RPM Support to Pulp
Actions #4

Updated by pulpbot over 3 years ago

  • Status changed from ASSIGNED to POST

Added by daviddavis over 3 years ago

Revision 72777843 | View on GitHub

Fix pulp_labels type check

When submitting form data, pulp_labels is a MultiValueDict which is a type of dict. isinstance() will recognize if data is a subclass of dict.

fixes #8541

Actions #5

Updated by daviddavis over 3 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by dalley over 3 years ago

  • Sprint/Milestone set to 3.13.0
Actions #7

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF