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

Bug 343921

Summary: [import/export] Ensure that incompatible version detection support works
Product: [Eclipse Project] Equinox Reporter: Pascal Rapicault <pascal>
Component: p2Assignee: Meng Xin Zhu <kane.zhu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 RC1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
add unit test for ensure it works pascal: review+

Description Pascal Rapicault CLA 2011-04-26 22:38:42 EDT
It is very likely that 3.8 will see changes in the import / export file format. As such I just want to be sure that the detection code for different version is actually working.
We probably just need to have a test.
Comment 1 Meng Xin Zhu CLA 2011-05-05 06:17:41 EDT
Created attachment 194810 [details]
add unit test for ensure it works
Comment 2 Pascal Rapicault CLA 2011-05-05 16:07:39 EDT
Comment on attachment 194810 [details]
add unit test for ensure it works

Please go ahead and release.
Comment 3 Pascal Rapicault CLA 2011-05-05 16:16:35 EDT
While testing from the UI, I noticed that no error dialog is opened when invalid content is being used in the import.
Comment 4 Pascal Rapicault CLA 2011-05-05 16:17:11 EDT
No need to attach a new version of the patch for this. Just commit it.
Comment 5 Meng Xin Zhu CLA 2011-05-06 02:44:09 EDT
release to HEAD