Bug 1012614 - package upload implodes when trying to upload a yum file with multibyte characters in the name.
Summary: package upload implodes when trying to upload a yum file with multibyte chara...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: Unspecified
Assignee: David Davis
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 1016310
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-26 17:59 UTC by Corey Welton
Modified: 2013-10-15 15:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-15 15:21:34 UTC
Target Upstream Version:


Attachments (Terms of Use)
httpd error log trace (41.40 KB, text/plain)
2013-09-26 18:01 UTC, Corey Welton
no flags Details

Description Corey Welton 2013-09-26 17:59:38 UTC
Description of problem:
When trying to upload a package with multibyte characters in the name, an ISE is thrown.

Version-Release number of selected component (if applicable):
katello 1.4.6-13.el6sat


How reproducible:


Steps to Reproduce:
1. kk repo content_upload --repo=zooup --product=Zooshop --filepath=./foo/你好.rpm --content_type=yum --org=ACME_Corporation
2. view results

Actual results:
ISE thrown; will attach error log.


Expected results:
It's probably that this error is bubbling up from pulp - and very possibly we and/or yum don't support multibyte characters in the filenames.  That said, we should maybe handle the error and/or prevent it.

Additional info:

I haven't yet tested with puppet modules, any errors may be different.

Comment 1 Corey Welton 2013-09-26 18:01:32 UTC
Created attachment 803527 [details]
httpd error log trace

Comment 3 Mike McCune 2013-10-15 15:19:50 UTC
non critical for MDP2, moving to a later release.

Comment 4 Mike McCune 2013-10-15 15:21:34 UTC

https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Common_Character_Set_for_Package_Naming


" Common Character Set for Package Naming

While Fedora is an international community, for consistency and usability, there needs to be a common character set for package naming.

Specifically, all Fedora packages must be named using only the following ASCII characters. These characters are displayed here:

abcdefghijklmnopqrstuvwxyz
ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789-._+
"


Note You need to log in before you can comment on or make changes to this bug.