Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 186287 - Change the function of grandtotal's data item will miss to write aggregateOn properties in reportdesign[1102]
Summary: Change the function of grandtotal's data item will miss to write aggregateOn ...
Status: CLOSED DUPLICATE of bug 184808
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.2.0 RC0   Edit
Assignee: Dazheng Gao CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 22:35 EDT by Tianli Zhang CLA
Modified: 2007-06-12 22:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tianli Zhang CLA 2007-05-09 22:35:07 EDT
Description:
The operation of changing the function of grandtotal's dataitem should be consistent with the operation of changing the function in dimension's aggregation dialog. 

Build number: 
2.2.0.v20070509-0630

Steps to reproduce:
1, New a crosstab
2, Specify a grandtotal on the crosstab
3, Change the function of grandtotal in dimension's aggregation dialog. And check the XML Source
4, Change the function of grandtotal's data item in crosstab. And check the XML Source

Expected result:
Step3 and Step4 have the same effect. And the report design should be:
<structure>
     <property name="name">QUANTITY1_Group2/PRODUCT_TYPE</property>
         <expression name="expression">measure["QUANTITY1"]</expression>
             <simple-property-list name="aggregateOn">
                  <value>Group2/PRODUCT_TYPE</value>
             </simple-property-list>
     <property name="aggregateFunction">count</property>
</structure>
Actual result:
Step4 will miss to write the:
<simple-property-list name="aggregateOn">
    <value>Group2/PRODUCT_TYPE</value>
</simple-property-list>
Comment 1 Dazheng Gao CLA 2007-05-10 01:31:07 EDT

*** This bug has been marked as a duplicate of bug 184808 ***
Comment 2 Tianli Zhang CLA 2007-06-12 22:13:01 EDT
Closed