Bug 167743 - [search] Open Type Dialog cannot find types from projects migrated from 3.2.1 workspace
Summary: [search] Open Type Dialog cannot find types from projects migrated from 3.2.1...
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M5   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 167746 168555 169881 171541 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-12 16:20 EST by Samantha Chan CLA
Modified: 2007-02-06 02:24 EST (History)
3 users (show)

See Also:


Attachments
Proposed patch (10.71 KB, patch)
2006-12-17 12:18 EST, Frederic Fusier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samantha Chan CLA 2006-12-12 16:20:00 EST
Running I20061212

Steps to reproduce:
1.  With Eclipse 3.2.1, create a simple Java Project.  From the Java Project, create a simple class with just the main method.  (In my case, my simple class is called TestClass.)
2.  Shut down this copy of Eclipse.
3.  Start Eclipse 3.3 I20061212, select the workspace that was previously created from a 3.2.1 Eclipse.
4.  Use the Open Type Dialog to try to find the class that was created.  (I typed *TestClass in the dialog's filter.)

The dialog does not list TestClass as a matchint type after entering "*TestClass" in the filter.

Expected Result, the dialog should continue to find the class.
Comment 1 Martin Aeschlimann CLA 2006-12-15 16:40:12 EST
reproduced. No match is reported to the open type dialog.
Comment 2 Martin Aeschlimann CLA 2006-12-15 16:41:00 EST
*** Bug 167746 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Fusier CLA 2006-12-16 12:37:18 EST
Problem is in fact with classes in default package fragment root. It seems that project creation did not add a source folder by default.

You get same problem in 3.3 M4 if you create a project without any source folder or with classes put in default package fragment root.
Comment 4 Frederic Fusier CLA 2006-12-17 12:18:53 EST
Created attachment 55833 [details]
Proposed patch
Comment 5 Frederic Fusier CLA 2006-12-17 12:20:55 EST
Released for 3.3 M5 in HEAD stream.
Comment 6 Frederic Fusier CLA 2006-12-19 11:03:49 EST
*** Bug 168555 has been marked as a duplicate of this bug. ***
Comment 7 Frederic Fusier CLA 2007-01-12 03:43:54 EST
*** Bug 169881 has been marked as a duplicate of this bug. ***
Comment 8 Frederic Fusier CLA 2007-01-24 09:10:55 EST
*** Bug 171541 has been marked as a duplicate of this bug. ***
Comment 9 Frederic Fusier CLA 2007-02-05 04:04:38 EST
*** Bug 168555 has been marked as a duplicate of this bug. ***
Comment 10 Maxime Daniel CLA 2007-02-06 02:24:26 EST
Verified for 3.3 M5 using build I20070205-1824.