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

Bug 335971

Summary: RptLibrary Custom Style does not get automatically populated in Edit Style Window
Product: z_Archived Reporter: sushma <sushmasatish>
Component: BIRTAssignee: Chen Chao <cchen>
Status: VERIFIED FIXED QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier, cchen
Version: unspecified   
Target Milestone: 3.7.0 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete
Attachments:
Description Flags
"Errors in Edit Theme Style Window.pdf" attachment details the bug with screenshots none

Description sushma CLA 2011-02-01 10:24:45 EST
Build Identifier: 20100617-1415

In .rptlibrary -> Themes -> MyTheme -> New Style: For Custom Sytle: Name: enter "Table", Click OK. "Table" style should now be listed in MyTheme. Double click on "Table" to edit, in Edit Style Window, 

Expected Result: 
1. The "Custom Style" checkbox should be selected.
2. The "Custom Style -> Name:" should have the value "Table".

Actual Result:
1. The "Predefined Style" checkbox is SELECTED.
2. The "Predefined Style -> Select Report Element:" has no value.

Looks like in Edit window for custom style with name matching the ones in predefined styles, it is defaulting to "Predefined Style" and fails to select any value. 

Full Description of the error along with screenshot is detailed in attached pdf document ref: "Errors in Edit Theme Style Window.pdf".


Reproducible: Always

Steps to Reproduce:
Steps to reproduce is as mentioned in Details and attached pdf document ref: "Errors in Edit Theme Style Window.pdf"
Comment 1 sushma CLA 2011-02-01 10:25:41 EST
Created attachment 188051 [details]
"Errors in Edit Theme Style Window.pdf" attachment details the bug with screenshots
Comment 2 Chen Chao CLA 2011-04-06 02:14:07 EDT
Fixed it.

Don't allow to use predefine style name when define a custom style.
Comment 3 Xiaoying Gu CLA 2011-04-06 23:24:49 EDT
Verified in daily build 3.7.0.v20110407-0630