Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314885

Summary: Need more accurate error message while creating test assets
Product: z_Archived Reporter: Ben Chen <chenbs>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED WONTFIX QA Contact: Kathy Chan <kathy>
Severity: normal    
Priority: P3 CC: paulslau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: closed472
Bug Depends on: 314563    
Bug Blocks:    

Description Ben Chen CLA 2010-05-28 10:48:16 EDT
Build Identifier: TPTP-4.7.0-201005251601

1:When creating new test assets, put a single "(space)" as name, the
error message shows as: " The name cannot begin with a period (.). "

2:The error messages that appear while user specifies invalid characters as name (while creating new test assets)is different than those seen in a renaming scenario. 
For example: when creating new test asset and specify "(space)a" as name would
prompt error message "The name is invalid.", where as setting the same name
while renaming would show "The name contains invalid characters"

Reproducible: Always
Comment 1 Paul Slauenwhite CLA 2010-05-28 14:47:23 EDT
(In reply to comment #0)
> Build Identifier: TPTP-4.7.0-201005251601
> 
> 1:When creating new test assets, put a single "(space)" as name, the
> error message shows as: " The name cannot begin with a period (.). "

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=314563.
Comment 2 Ben Chen CLA 2010-05-28 16:01:20 EDT
note:

affecting test cases: 
Bugzilla_249986_URL_Recording_with_Invalid_Characters_in_Project
Bugzilla_249986_URL_Recording_with_Invalid_Characters_in_File
Bugzilla_280004_1 step#24

under
\org.eclipse.hyades.test.URLTest.tests\manual\basic_tests\Test.UI.URLTest.Windows.testsuite

the error message for different projects with "invalid" characters are different, i.e, for projects with "!", "(", ")", """,  the message is "The parent folder is invalid", whereas others have "The project folder contains the following invalid character "(character)",

side side note: it affects creation of all test assets and tests
Comment 3 Ben Chen CLA 2010-06-03 18:08:42 EDT
Also affecting: Test.UI.TestNavigator_bugzilla_309165
Comment 4 Paul Slauenwhite CLA 2010-06-22 14:11:35 EDT
Requires translation.
Comment 5 Paul Slauenwhite CLA 2010-06-24 13:30:54 EDT
No longer required by a consuming product.
Comment 6 Kathy Chan CLA 2011-02-11 13:40:21 EST
This defect had been resolved as WONTFIX for more than 1 month.  Closing this on the reporter's behalf.  Please re-open if you have further comment on this issue.
Comment 7 Kathy Chan CLA 2011-02-11 14:51:27 EST
Closed in TPTP 4.7.2.