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

Bug 337462

Summary: CompositeResult doesn't display a Spec or another CompositeResult
Product: [Tools] MAT Reporter: Andrew Johnson <andrew_johnson>
Component: GUIAssignee: Andrew Johnson <andrew_johnson>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: 1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Andrew Johnson CLA 2011-02-17 11:30:30 EST
If a query returns a CompositeResult containing a Spec then the tab is blank apart from some text like

org.eclipse.mat.report.SectionSpec@5ebb5ebb

If a query returns a CompositeResult containing another CompositeResult marked as asHtml then the sub result is still expanded rather than being shown as HTML.
Comment 1 Andrew Johnson CLA 2011-02-17 11:31:32 EST
The fix is to change QueryExecution to expand those cases to HTML, rather as if they were the main result from a query.
Comment 2 Andrew Johnson CLA 2011-02-17 12:29:50 EST
I have also added a test query. This isn't run a JUnit test as I don't know how.