Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363655 - DataGrid: Clicking the checkbox of DataGrid will lead error if class property is defined
Summary: DataGrid: Clicking the checkbox of DataGrid will lead error if class property...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yun Feng Ma CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 03:43 EST by Thomas Wu CLA
Modified: 2017-02-23 14:17 EST (History)
4 users (show)

See Also:


Attachments
error page (36.97 KB, image/pjpeg)
2011-11-13 03:46 EST, Thomas Wu CLA
no flags Details
Patch (1.67 KB, patch)
2011-12-14 03:34 EST, Yun Feng Ma CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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