[Mono-bugs] [Bug 47869][Maj] Changed - CheckBox bug (UnCheck problem)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 26 Aug 2003 04:53:41 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by yaronshkop@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=47869

--- shadow/47869	2003-08-26 03:32:15.000000000 -0400
+++ shadow/47869.tmp.16535	2003-08-26 04:53:41.000000000 -0400
@@ -87,6 +87,34 @@
 ------- Additional Comments From yaronshkop@hotmail.com  2003-08-26 03:32 -------
 I'll try again to compile the latest sources and run
 the result dll.
 I'm quite sure that i have updated sources...
 Please watch this bug again today, I'll have a final
 answer for this in few hours.
+
+------- Additional Comments From yaronshkop@hotmail.com  2003-08-26 04:53 -------
+I've checked it again after compliling the latest sources.
+The bug was NOT solved but it changed it's behavior.
+
+Steps to reproduce the problem:
+1. Open the attached aspx file.
+2. Uncheck the lower checkbox.
+
+Actual Results:
+The lower checkbox remains checked.
+
+Expected Results:
+At step 2, The lower checkbox should become unchecked and the upper
+checkbox should become checked.
+
+Additional Remarks:
+After fixing the bug, try both testcases to be certain the bug was
+solved.
+From watching the CheckBox source their is wrong condition at
+SaveCheckedViewState:
+if (Events [CheckedChangedEvent] != null){
+					if (!Enabled)
+It should be:
+if (Events [CheckedChangedEvent] != null || !Enabled)
+
+I don't think that one causes the problem but it's a mistake. 
+