Community
Participate
Working Groups
3.3 M5 1. New -> Project... 2. Select "Plug-in Project" and click "Next" => Status: "Project name must be specified" 3. Uncheck "Use default location" => Status: [ERROR] "Project contents directory must be specified" 4. Enter project name "abc" => Status: OK, "Next" button enabled The status is wrong. It should fall back to error "Project contents directory must be specified" with the "Next" button disabled.
Problem is in WizardNewProjectCreationPage, which PDE subclasses. Same thing happens in the Simple Project creation wizard, for example.
Created attachment 60365 [details] Patch attachement I attached a patch. Please verify.
As demonstrated by the patch, it's an IDE issue.
I'll review for 3.3
Created attachment 65655 [details] Updated patch This is more effecient as checkValidLocation also does validateProjectLocationUR I if (!locationArea.isDefault()) { String validLocationMessage = locationArea.checkValidLocation(); if (validLocationMessage != null) { //there is no destination location given setErrorMessage(validLocationMessage); return false; } }
Szymon could you please check this patch and give your +1 if acceptable?
Szymon?
It seems that locationArea.checkValidLocation() doesn't work well. When I try to put there location like "as", I can press "Next" but then after pressing "Finish" I have an error dialog that the location is wrong. Also the message in this dialog is strange.
Created attachment 66790 [details] Illustrates the issue from the comment 8
Szymon, shouldn't it be reported as a separate bug? The patch attached here doesn't cause this problem with location - it was already in the code. I will try to investigate this.
After the discussion with Szymon, I created new bug 186752 and put it as blocker for this one.
Jakub I don't think this blocks it but thanks for the reference (we could really do with a related to field). Szymon except for the issues you found in Bug 186752 is this a +1 from you?
yes. +1 from me.
Fixed released for build >20070514
Verified in 20070515-0100