Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 213829 - Invalid sork key query is cached in chart model
Summary: Invalid sork key query is cached in chart model
Status: RESOLVED 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: Non-Auto
Keywords:
Depends on:
Blocks: 197304
  Show dependency tree
 
Reported: 2007-12-25 01:04 EST by Yulin Wang CLA
Modified: 2009-07-09 22:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yulin Wang CLA 2007-12-25 01:04:05 EST
Steps:
1. Create a chart, bind query expressions to base series, value series and option grouping.
2. Open the grouping dialog of optional grouping, and set ascending order and specify a key. Click OK to save.
3. Open the grouping dialog again and set unsorted order.
4. Modify the query expression of optional grouping.
5. Save the chart model and open the xml editor to see the source.

Expected result:
No sort key query expression in chart model.

Actual result:
There is sort key expression in chart model.
Comment 1 Yulin Wang CLA 2007-12-25 01:05:48 EST
Invalid sort key query will affect correct data binding of cube.
Comment 2 Heng Li CLA 2007-12-25 02:46:27 EST
Clear SortKey expression in chart model for unsorted case.
Comment 3 Maggie Shen CLA 2007-12-27 04:06:59 EST
verified on build 2.3.0 v20071227-0800.