Bug 1038922

Summary: [add attachment]When adding attachment to plan, it will be unsuccessful in the following cases.
Product: [Other] TCMS Reporter: yangqiu <qiyang>
Component: ApplicationAssignee: Yuguang Wang <yuwang>
Status: NEW --- QA Contact: Nobody <nobody>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.8.5CC: cqi, junzhang, jzhao, ryang, vchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
IOError page
none
special characters none

Description yangqiu 2013-12-06 07:13:47 UTC
Created attachment 833443 [details]
IOError page

Description of problem:
As subject.

Version-Release number of selected component (if applicable):
3.8.5

How reproducible:
100%

Steps to Reproduce:
1. Add a long name file, the length of file name is 255 characters. 
2. Add a file, the file name includes special characters.

Actual results:
For step 1: System go to IOError page.
For step 2: The uploaded file name is not the same as the loal file.

Expected results:
System can add attachment to plan correctly.

Additional info:

Comment 1 cqi 2013-12-10 01:44:23 UTC
(In reply to yangqiu from comment #0)
> Created attachment 833443 [details]
> IOError page
> 
> Description of problem:
> As subject.
> 
> Version-Release number of selected component (if applicable):
> 3.8.5
> 
> How reproducible:
> 100%
> 
> Steps to Reproduce:
> 1. Add a long name file, the length of file name is 255 characters. 
> 2. Add a file, the file name includes special characters.
> 

what special characters used in test?

> Actual results:
> For step 1: System go to IOError page.
> For step 2: The uploaded file name is not the same as the loal file.
> 
> Expected results:
> System can add attachment to plan correctly.
> 
> Additional info:

Comment 2 yangqiu 2013-12-10 02:16:32 UTC
> what special characters used in test?
The file name like: ~!@#$%^&*()_+{}|:"<>?[]\;',.1234567890
After uploading, the file name became: ;',.1234567890

Comment 3 yangqiu 2013-12-10 02:17:48 UTC
Created attachment 834624 [details]
special characters