Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 211562 - [Automation][Regression]Sort in chart's X-Axis does not take any effect
Summary: [Automation][Regression]Sort in chart's X-Axis does not take any effect
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.3.0 M4   Edit
Assignee: Heng Li CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-30 03:41 EST by Wen Lin CLA
Modified: 2007-12-11 03:20 EST (History)
0 users

See Also:


Attachments
report design (57.21 KB, application/octet-stream)
2007-11-30 03:42 EST, Wen Lin CLA
no flags Details
report design (35.39 KB, application/octet-stream)
2007-12-06 22:10 EST, Wen Lin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wen Lin CLA 2007-11-30 03:41:34 EST
Description:
  Sort in chart's X-Axis does not take any effect.

Test Date:
20071130

Test Build:
BIRT2.3.0 Daily Build: v20071130-0800

Step to reproduce:

1. Use the report attached
2. Preview it

Expect result:
The data should be sorted.
Comment 1 Wen Lin CLA 2007-11-30 03:42:05 EST
Created attachment 84143 [details]
report design
Comment 2 Heng Li CLA 2007-11-30 05:15:54 EST
For old report(BIRT2.3M4), if the sort direction of base series is set, use the base series expression as default sort key.
Comment 3 Wen Lin CLA 2007-12-05 02:32:13 EST
This bug still exists in BIRT2.3.0 Daily Build: v20071205-0800
Comment 4 David Michonneau CLA 2007-12-06 08:41:06 EST
It works for me with the latest source today. Can you please double check 
again? I see the data is sorted in descending order in the report, like 
specified in the chart builder. The ascending order also works.
Comment 5 Wen Lin CLA 2007-12-06 22:10:15 EST
Created attachment 84702 [details]
report design

Please preview this report in the Daily Build:v20071207-0800. I sorted X-axis in ascending order, but the sort does not take any effect when previewing the report.
Comment 6 Wen Lin CLA 2007-12-06 22:18:10 EST
In the regression_202131.reportdesign attahed, this bug can be reproduced. 
Comment 7 Heng Li CLA 2007-12-09 22:26:30 EST
The fix depends on 208412, the group checking logic should be changed in 208412.
Comment 8 Heng Li CLA 2007-12-10 02:31:52 EST
Modified grouping enabled checking logic to avoid this case, check the grouping setting in chart model to decide if it is needed to sort by chart.
Comment 9 Wen Lin CLA 2007-12-11 03:20:04 EST
Verified in Daily Build: v20071211-0800