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

Bug 338799

Summary: import wizard error handling
Product: z_Archived Reporter: Milos Kleint <mkleint>
Component: m2eAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Milos Kleint CLA 2011-03-03 07:51:35 EST
Created attachment 190254 [details]
screenshot

The wizard's initial page has somehow broken error handling.

steps to reproduce
1.import a project 
2. Error: attempt to import the project again. note that finish gets disabled but nothing else happens.
3. error: when you select the affected line in the tree, you get a warning label on top.  a warning cannot prevent the wizard from completing.
Comment 1 Milos Kleint CLA 2011-03-03 07:53:54 EST
on top of that one should not be allowed probably to import the same sources twice. In that sense the error message is wrong, it shall tell that the project is already imported..
Comment 2 Pascal Rapicault CLA 2011-03-14 21:32:04 EDT
Adding to M7 since this is the realm of other fixes.
Comment 3 Milos Kleint CLA 2011-03-21 10:01:46 EDT
http://git.eclipse.org/c/m2e/m2e-core.git/commit/?id=ce3aa6e1f8eac14f89f7b3096426501c061e4060

new, better message and now you cannot import the same project twice, no matter what name template you choose. I understand that is the desired behaviour.
Comment 4 Denis Roy CLA 2021-04-19 13:27:23 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/