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

Bug 315336

Summary: The filter of the data set extended from the library can be removed, but the filter still effects on table
Product: z_Archived Reporter: mindan xu <mindan.xu>
Component: BIRTAssignee: Zhang Lei <LZhang>
Status: RESOLVED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, mwu, zqian
Version: unspecified   
Target Milestone: 3.7.0 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
Library
none
Report none

Description mindan xu CLA 2010-06-01 22:51:37 EDT
Created attachment 170734 [details]
Library

Description:
The filter of the data set extended from the library can be removed, but the filter still effects on table

Build:
2.6.0.v20100601-0955

Steps to reproduce:
1. New a library with a data set of CUSTOMERS.
2. Add a filter in data set.
3. New a report extend the library's data set and remove the filter.
4. Drag data set to layout.
5. Preview

Expected result:
The filter can not be removed or the filter does not work after it is removed.

Actual result:
After remove the filter, preview is correct in data set, but table preview is wrong.

Error log:
N/A
Comment 1 mindan xu CLA 2010-06-01 22:52:35 EDT
Created attachment 170735 [details]
Report
Comment 2 Zhiqiang Qian CLA 2010-06-02 04:38:40 EDT
Are filter is cleared from local, it's supposed to inherit from the library again. However the dataset editor UI doesn't show the correct state, only after close the report and open again, it shows the inherited filters.
Comment 3 Xiaoying Gu CLA 2010-09-15 03:03:18 EDT
Defer.
Comment 4 Zhang Lei CLA 2011-03-30 23:44:07 EDT
If only one filter exists and user needs to remove it, set an empty list to the handle in this case. fixed.
Comment 5 Xiaoying Gu CLA 2011-03-31 23:08:29 EDT
Verified in daily build 3.7.0.v20110331-0630