Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 138404 - [Problems] quick fix wizard opened with no options
Summary: [Problems] quick fix wizard opened with no options
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.2 RC2   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 127992 (view as bug list)
Depends on: 138547
Blocks:
  Show dependency tree
 
Reported: 2006-04-25 11:36 EDT by Michael Van Meekeren CLA
Modified: 2006-04-28 09:54 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Van Meekeren CLA 2006-04-25 11:36:40 EDT
N20060425 

- see attachment 
https://bugs.eclipse.org/bugs/attachment.cgi?id=39419&action=edit
- note that when openning the quick fix wizard it should not be empty.  I'm not sure why the menu item was enabled in the problems view if there does not appear to be a quick fix for this problem
Comment 1 Tod Creasey CLA 2006-04-25 21:43:19 EDT
org.eclipse.jdt.internal.ui.text.correction.CorrectionMarkerResolutionGenerator is returning true for #hasResolutions() but when you call getResolutions you get an empty list.

We should protect against this case however.
Comment 2 Tod Creasey CLA 2006-04-25 21:54:09 EDT
*** Bug 127992 has been marked as a duplicate of this bug. ***
Comment 3 Tod Creasey CLA 2006-04-27 11:26:20 EDT
Given that JDT aren't going to fix Bug 138547 for performance reasons we should have this protection in now.

Fixed for build 20060527-1200
Comment 4 Mike Wilson CLA 2006-04-27 11:35:15 EDT
+1
Comment 5 Tod Creasey CLA 2006-04-28 09:54:47 EDT
Verified in 20060427 (note that JDT actually finds a fix in 20060428-0010)