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

Bug 217040

Summary: [Crosstab improvements] Show empty rows doesn't work correctly[1102]
Product: z_Archived Reporter: Liwen Chen <lchen>
Component: BIRTAssignee: Mingxia Wu <mwu>
Status: VERIFIED FIXED QA Contact: Tianli Zhang <tzhang>
Severity: enhancement    
Priority: P3 CC: bluesoldier, lzhu, rkanguri, wenfeng.fwd, whe, xxue, zqian
Version: 2.3.0Keywords: plan
Target Milestone: 2.5.0 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard: Autoed
Attachments:
Description Flags
report design none

Description Liwen Chen CLA 2008-01-30 00:33:33 EST
Description:
Show empty rows doesn't work correctly
Build number:2.3.0.v20080128

Steps to reproduce:
1. Open attached report.The report set show empty row in month.
2. Preview.

Expected result:
1. Display four months for each quarter.

Actual result:
1. Display twelve months for each quarter.

Error log:n/a
Comment 1 Liwen Chen CLA 2008-01-30 00:41:51 EST
Created attachment 88244 [details]
report design
Comment 2 Lin Zhu CLA 2008-01-30 22:16:46 EST
This is a new feature rather than a "SHOW EMPTY ROW/COLUMN" feature.We need further discussion on this.
Comment 3 Yu Chen CLA 2008-03-14 04:45:55 EDT
*** Bug 217039 has been marked as a duplicate of this bug. ***
Comment 4 Wenfeng Li CLA 2008-05-28 04:13:49 EDT
+1 to support this feature.
Comment 5 Rima Kanguri CLA 2008-11-11 13:48:26 EST
Is this something we can fix in 2.3.2? Thanks
Comment 6 Rima Kanguri CLA 2008-11-11 15:01:34 EST
We had agreed on following
- When we stack multiple dimensions along a row/column edge, the relation ship between the two dimensions is a Cartesian product between the members of the dimension.
- But within same dimension, the hierarchy relation ship is maintained (relation ship between member of different levels is known)
Comment 7 Mingxia Wu CLA 2009-02-27 04:21:39 EST
Add the support in DTE layer,see the API in IEdgeDefinition:
	/**
	 * @param level
	 *            The mirror starting level
	 * @param breakHierarchy
	 *            Whether to keep the relation ship between level.
	 * @return
	 */
	public void creatMirrorDefinition( ILevelDefinition level,
			boolean breakHierarchy );

	/**
	 * 
	 * @return
	 */
	public IMirroredDefinition getMirroredDefinition( );


Reassign this bug to GUI for remaining fix.
Comment 8 Zhiqiang Qian CLA 2009-03-16 06:14:13 EDT
We need special treatment for the datetime type dimension, it should always NOT break the hierarchy when in mirrored mode. If user want to break the hierarchy, they can define them as a regular dimension.
Comment 9 Mingxia Wu CLA 2009-04-23 02:42:22 EDT
We will handle all dateTime dimension on their own logic. Fix it now.
Comment 10 Tianli Zhang CLA 2009-04-24 05:54:47 EDT
For current implementation, user needs to select quarter as starting level to achieve the expected result. During the verification, found another enhancement of this feature, pleaser refer to bug #273550, mark this bug as verified first.