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

Bug 363655

Summary: DataGrid: Clicking the checkbox of DataGrid will lead error if class property is defined
Product: z_Archived Reporter: Thomas Wu <wxwu>
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, hjiyong, mayunf, xiaobinc
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
error page
none
Patch none

Description Thomas Wu CLA 2011-11-13 03:43:19 EST
Build Identifier: 20111110

There is NO such issue in RBD.
Make DataGrid shows CheckBoxes, then set class property with a css name. Clicking the checkbox of DataGrid will lead some runtime error.

Reproducible: Always

Steps to Reproduce:
1.DD a DataGrid into a handler.
2.In the css file of the test project, write the following codes.
.body { background-color: green}
3.In the properties view of DataGrid, select the checkbox of "showCheckBoxes" property, and set the "class" as body.
4.In the preview tab, or external browsers, click any checkbox in DataGrid.

Actual results: There is an error showing like the screenshot.
Comment 1 Thomas Wu CLA 2011-11-13 03:46:07 EST
Created attachment 206897 [details]
error page
Comment 2 Lisa Lasher CLA 2011-11-16 16:50:40 EST
deferred
Comment 3 Yun Feng Ma CLA 2011-12-14 03:34:31 EST
Created attachment 208368 [details]
Patch

Here is a patch, Ji Yong, please review it. Thanks.
Comment 4 Huang Ji Yong CLA 2011-12-14 03:45:01 EST
(In reply to comment #3)
> Created attachment 208368 [details]
> Patch
> 
> Here is a patch, Ji Yong, please review it. Thanks.

I think this patch is ok.
Comment 5 Yun Feng Ma CLA 2011-12-14 04:19:39 EST
Checked the fix in. Thanks.
Comment 6 Thomas Wu CLA 2012-01-21 00:53:20 EST
Verified in build 20120117