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

Bug 314202

Summary: Change is still saved when select to discard the change.[01]
Product: z_Archived Reporter: Maggie Shen <lshen>
Component: BIRTAssignee: Ning Zhang <ning.zhang>
Status: VERIFIED FIXED QA Contact: Maggie Shen <lshen>
Severity: normal    
Priority: P3 CC: bluesoldier, zqian
Version: 2.6.0   
Target Milestone: 2.6.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard: Non-Auto

Description Maggie Shen CLA 2010-05-25 03:04:10 EDT
description:
Change is still saved when select to discard the change.

build id:
2.6.0 v20100525-1139

steps to reproduce:
1. New a library and a report.
2. Use the library in the report.
3. Do some change to the report and refresh the library.
4. When asked whether to save the changes, select discard.

Actual result:
Though discard, the change is still save. Unless you close and reopen the report.
Comment 1 Ning Zhang CLA 2010-05-25 04:30:06 EDT
This is not a saving issue but a refreshing issue. Refresh the current design file will do a sequence of undo actions under current implementation, which may have side effects and is not recommanded.

Fixed this issue by removing the Discard button.
Comment 2 Maggie Shen CLA 2010-05-25 05:39:35 EDT
verified on build 2.6.0 v20100525-1629. Discard button is removed.