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

Bug 311998

Summary: No error icon for chart without any binding
Product: z_Archived Reporter: Liwen Chen <lchen>
Component: BIRTAssignee: Yulin Wang <Lionel.wyl>
Status: CLOSED FIXED QA Contact: Liwen Chen <lchen>
Severity: normal    
Priority: P3 CC: bluesoldier, rlu, ywang
Version: 2.6.0   
Target Milestone: 2.6.0 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Non-Auto

Description Liwen Chen CLA 2010-05-06 23:24:04 EDT
Build number:2.6.0.v20100506-0630

Steps to reproduce:
1. Insert a table,xtab,chart without any dataset or cube binding
2. Check outline

Expected result:
Error icon before these items.

Current behavior:
Error icon for table,xtab, but no error for chart. But chart indeed has errors.
Comment 1 Rick Lu CLA 2010-05-07 03:38:42 EDT
If the chart is nested in a table, it is not necessary to show error icon.
Comment 2 Yueqian Wang CLA 2010-05-12 00:24:32 EDT
Chart should handle its own validators.
The method "validate" on IReportItem and the method "getNodeIcon" on INodeProvider should be implemented.
Reassign to Chart team.
Comment 3 Yulin Wang CLA 2010-05-13 00:11:39 EDT
Improved validation of chart report item and check semantic error to display error icon.
Comment 4 Xiaoying Gu CLA 2010-05-13 23:06:04 EDT
verified in 2.6.0.v20100514-0630