Actions
Bug #34245
closedUploading python packages broken in UI and CLI
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Description
In CLI:
- Gives error: undefined method `pulp3_api' for nil:NilClass
- This happens because "content_type" here now refers to the content_type object rather than the label i.e. "python_package": https://github.com/Katello/katello/blob/master/app/services/katello/pulp3/content.rb#L9
In UI:
- Gives successful upload message, but "uploads" the wrong package.
- Filtering for duplicates is not working correctly. filter_label needs to be a symbol not a string: https://github.com/Katello/katello/blame/master/app/services/katello/pulp3/pulp_content_unit.rb#L134
Actions