Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337462 - CompositeResult doesn't display a Spec or another CompositeResult
Summary: CompositeResult doesn't display a Spec or another CompositeResult
Status: RESOLVED FIXED
Alias: None
Product: MAT
Classification: Tools
Component: GUI (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Andrew Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 11:30 EST by Andrew Johnson CLA
Modified: 2011-02-17 12:29 EST (History)
0 users

See Also:


Attachments

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