Project

Profile

Help

Issue #8541

Documentation on creating a remote is broken

Added by dalley 7 months ago. Updated 5 months 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."       
    ]                                                      
}               

Associated revisions

Revision 72777843 View on GitHub
Added by daviddavis 7 months ago

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

History

#1 Updated by dalley 7 months ago

  • Tags Documentation added

#2 Updated by daviddavis 7 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#3 Updated by daviddavis 7 months ago

  • Project changed from RPM Support to Pulp

#4 Updated by pulpbot 7 months ago

  • Status changed from ASSIGNED to POST

#5 Updated by daviddavis 7 months ago

  • Status changed from POST to MODIFIED

#6 Updated by dalley 5 months ago

  • Sprint/Milestone set to 3.13.0

#7 Updated by pulpbot 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF