Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347997 - Behaviour change on file retrieval
Summary: Behaviour change on file retrieval
Status: RESOLVED WORKSFORME
Alias: None
Product: ECF
Classification: RT
Component: ecf.filetransfer (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: ecf.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 347998
  Show dependency tree
 
Reported: 2011-06-01 15:07 EDT by Pascal Rapicault CLA
Modified: 2011-06-04 12:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2011-06-01 15:07:59 EDT
The p2 bug #345497 revealed a change in the behaviour when it comes to contacting an URI that can't be dealt with. In 3.1.0 (see list of bundles below) the code use to throw a org.eclipse.ecf.filetransfer.identity.FileCreateException: Exception in createFileID and now it throws 
java.net.MalformedURLException: unknown protocol.

At this point we've done a quick change in p2 but I think we need to review if this is change in ECF was intentional and if it is react to it accordingly in p2.


51	ACTIVE      org.eclipse.ecf_3.1.0.v20100906-1425
	            Fragments=58
52	ACTIVE      org.eclipse.ecf.filetransfer_4.0.0.v20100906-1425
53	ACTIVE      org.eclipse.ecf.identity_3.1.0.v20100906-1425
54	ACTIVE      org.eclipse.ecf.provider.filetransfer_3.1.0.v20100906-1425
	            Fragments=57
55	ACTIVE      org.eclipse.ecf.provider.filetransfer.httpclient_4.0.0.v20100906-1425
	            Fragments=56
56	RESOLVED    org.eclipse.ecf.provider.filetransfer.httpclient.ssl_1.0.0.v20100906-1425
	            Master=55
57	RESOLVED    org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20100906-1425
	            Master=54
58	RESOLVED    org.eclipse.ecf.ssl_1.0.100.v20100906-1425
	            Master=51
106	ACTIVE      org.eclipse.equinox.p2.transport.ecf_1.0.0.qualifier
Comment 1 Scott Lewis CLA 2011-06-01 17:05:26 EDT
This change in exception behavior was intentional. It was done quite a long time ago in order to address bug 268440.
Comment 2 Scott Lewis CLA 2011-06-02 13:18:58 EDT
Pascal...I'm inclined to close this as invalid or worksforme...as I don't see anything to do (in ECF filetransfer, at least).
Comment 3 Scott Lewis CLA 2011-06-04 12:43:02 EDT
Resolving as worksforme.