PDA

View Full Version : [FIXED-436] isDirty() incorrectly reports true on radiogroup and checkboxgroup



realjax
18 Dec 2009, 2:35 AM
Ext version tested:


all versions that include checkboxgroup and radiogroup, including 3.1


Adapter used:


ext


css used:


only default ext-all.css


Browser versions tested against:


IE8
FF3 (firebug 1.3.0.10 installed



Operating System:


WinXP Pro



Description:


isDirty() on radiogroups and checkboxgroups returns true when loading a record and having trackResetOnload set to true.



The result that was expected:


isDirty() return false



The result that occurs instead:


isDirty() returns true




Possible fix:


set radioGroups/checkBoxgroups orginalValue to loaded record's field value

NOSLOW
6 Jan 2010, 11:08 AM
I second this bug report. I seem to be experiencing the same behavior. Since I'm strapped for time, I may just stay away from radio buttons and use comboboxes instead until radiogroups become rock-solid in ExtJS.

divestoclimb
7 Jan 2010, 8:46 AM
I think the overrides posted at http://www.extjs.com/forum/showthread.php?t=74559 fix the issue. After all the bugfixes and overrides I've made I don't experience the issue, but I know I've seen the bug before.

realjax
18 Jan 2010, 12:51 AM
I think the overrides posted at http://www.extjs.com/forum/showthread.php?t=74559 fix the issue.

A partial solution, it doesn't take 'trackResetOnload' into consideration.

Jamie Avins
11 Feb 2010, 10:12 AM
We need a testcase for this issue. trackResetOnload is now working properly for CheckboxGroups, so I'm not sure this is still an issue.

http://www.extjs.com/forum/showthread.php?t=91443

realjax
24 Feb 2010, 6:11 AM
Still an issue with latest SVN build.

isDirty() on radiogroups (haven't checked checkboxgroups) returns true when loading a record and having trackResetOnload set to true.

Jamie Avins
9 Mar 2010, 4:47 PM
[type]: fix
[module]: CheckboxGroup
[id]: #436
[desc]: Fixes #436. Apply a workaround to allow trackResetOnLoad to work properly with isDirty for CheckboxGroup and RadioGroup.

froggman2k
22 Mar 2010, 2:50 PM
I am hoping that no one will bite my head off for asking this... If I don't have a subscription and thus no SVN access, how can I get these "patches" or fixes into my code base so that I can start using these elements as they are intended?

Thanks!

Jamie Avins
22 Mar 2010, 3:08 PM
Wait patiently for the next publicly released version, these in particular will be in 3.2...