Bug 70435 - TVT3.0: 150-character C++ file name doesn't throw an error
Summary: TVT3.0: 150-character C++ file name doesn't throw an error
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 11:33 EDT by David W Hare CLA
Modified: 2020-09-04 15:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David W Hare CLA 2004-07-20 11:33:42 EDT
When running through the CDT TVT testcases:

Select File->New->Project from the main menu. Select "Standard C Make project".
Click Next. 

Enter 300 characters in the "Name" field. Click Finish

Select File->New->Project from the main menu. Select Standard C Make Project.
Click Next. 

In the "Name" field, enter a 150-character name. Click Finish. 


Neither of these throw an error message as specified in the TVT testcase.
Comment 1 Tanya Wolff CLA 2004-07-20 13:57:53 EDT
I just found out that "Could not create indexed cursor" is not CDT, but 
platform, and I'm not sure how to reproduce that one. 

You should be able to get errors with a workspacePath+projectName > 255, the 
NTFS/FAT32 filename limit, so 300 in the test case was too vague. 

The delete error is reproduced when the workspacePath+projectName < 255, but 
workspacePath + "/.metadata/plugins/org.eclipse.core.resources/" + projectName 
> 255.o if workspacePath is "c:\workspaces" then we have 13+x<255, 13+x+46>255 
=> 199 < x <242, where x is the length of projectName.
Comment 2 Doug Schaefer CLA 2005-04-11 16:56:28 EDT
Kleo, have you made any progress on this ;-)
Comment 3 Chris Recoskie CLA 2006-06-07 15:13:17 EDT
Something tells me Kleo is not fixing this... returning to the pool :-P