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

Bug 67203

Summary: [Import/Export[ Import from Zip File and File System gives no feedback about read-only files
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: markus.kell.r, michaelvanmeekeren
Version: 3.0   
Target Milestone: 3.1 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 73962    
Bug Blocks:    

Description Dani Megert CLA 2004-06-15 06:39:49 EDT
Test Pass for 3.0 RC2

1. have JUnit with corresponding code
2. add the following line to TestCase.java:
// read-only
3. close the editor and make the file read-only
4. start to import JUnit from File system
4. Uncheck "Overwrite existing...without warning"
5. Click "Finish"
==> dialog appears
6. Click "Yes To All"

Stuff gets imported and wizard closes - no info about read-only files.

Now, what do I have to expect? Has TestCase.java been overwritten? Were there
other read-only files? Which ones?

Fact is: read-only file TestCase.java has not been imported.

I would expect a dialog that asks me what do to with read-only files or at least
tell me that which ones were not imported.
Comment 1 Tod Creasey CLA 2004-08-20 12:49:08 EDT
In 3.1. it is even more severe. When you attempt to validate the readOnly file 
we throw an OperationCancelledException and nothing occurs.
Comment 2 Tod Creasey CLA 2004-08-20 15:51:34 EDT
There were two problem here

1) We were not logging status messages on validation
2) We cancelled if there was a single error.

Fixed in build >20040820
Comment 3 Michael Van Meekeren CLA 2004-09-17 13:18:32 EDT
re-opening, this fix has introduced bug 73962
Comment 4 Tod Creasey CLA 2004-09-17 15:05:30 EDT
Fixed due to the fix in Bug 37962
Comment 5 Michael Van Meekeren CLA 2004-09-20 09:49:17 EDT
tod you mean  bug 73962 right?
Comment 6 Tod Creasey CLA 2004-09-20 09:57:40 EDT
Yes - thanks Michael.
Comment 7 Tod Creasey CLA 2004-09-21 11:34:29 EDT
Verified in 200409210800