Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338799 - import wizard error handling
Summary: import wizard error handling
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Milos Kleint CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 07:51 EST by Milos Kleint CLA
Modified: 2021-04-19 13:27 EDT (History)
1 user (show)

See Also:


Attachments
screenshot (63.43 KB, image/png)
2011-03-03 07:51 EST, Milos Kleint CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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/