Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1067369

Summary: Copy, Rename: File name validation broken
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Kralik <pkralik>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.0CC: kverlaen, lpetrovi, rrajasek, tsurdilo
Target Milestone: ER1   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:53:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Correct warning for Rename/Copy
none
Different Error Warning for "name with spaces" string for Copy none

Description Zuzana Krejčová 2014-02-20 10:46:02 UTC
Description of problem:
See bug 1006506 description and for more information. While validation was added for new assets, when renaming or copying an asset, the new file name is not validated.

Comment 4 Pavel Kralik 2014-03-20 15:36:23 UTC
Copy, Rename: File name validation tested for these strings (eg. DRL in Project Explorer):

1)
,./<>?:"|;'\[]{}=-_+()~`!@#$%^&*

2)
"name with spaces"

3) 
".name"

4)
"name/with/slash"

5)
"slashed\nam"

6)
"   spaces"

Correct behaviour for all cases except:
2)
"name with spaces" - I could Rename file and I could not Copy file, but there was different Error warning that for the other cases.

6) I could Rename file and spaces was trimmed and for the Copy there was different Error warning.  

Tested for brms-6.0.1-ER2 deployable for eap6.

Comment 5 Pavel Kralik 2014-03-20 15:37:48 UTC
Created attachment 876925 [details]
Correct warning for Rename/Copy

Comment 6 Pavel Kralik 2014-03-20 15:39:03 UTC
Created attachment 876926 [details]
Different Error Warning for "name with spaces" string for Copy

Comment 12 Pavel Kralik 2014-04-29 14:39:26 UTC
Verified for bpms-6.0.2.ER2 and EAP6x.