Project

Profile

Help

Refactor #2614

closed

Allow PulpCodedException to propagate during upload to relay error information

Added by daviddavis about 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

This code here ought to be removed:

https://github.com/pulp/pulp_rpm/blob/54fcfe2e8c7018fc807c72cb12a6eb4f5af1d447/plugins/pulp_rpm/plugins/importers/yum/upload.py#L119-L141

Instead, pulp_rpm can use PulpCodedExceptions which have predefined i18n strings that will automatically get printed to users.

See this PR as an example of what needs to be done:

https://github.com/pulp/pulp_puppet/pull/253


Related issues

Related to RPM Support - Issue #2543: RPM Importer swallows exception when one is raised during uploadCLOSED - CURRENTRELEASEfdobrovoActions
Actions #1

Updated by daviddavis about 7 years ago

  • Related to Issue #2543: RPM Importer swallows exception when one is raised during upload added
Actions #2

Updated by daviddavis about 7 years ago

  • Subject changed from Use PulpCodedException during upload to relay error information to Allow PulpCodedException to propagate during upload to relay error information
Actions #3

Updated by bmbouter almost 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #4

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF