PDA

View Full Version : [CLOSED] [#156] MVC GridPanel record.reject() fails on latest build



cankut84
Mar 01, 2013, 7:31 PM
Hi,

record.reject() command in GridPanel does not work as expected in latest SVN trunk.
Undo command button restores inner TextBoxField of the changed column, but visible div stays changed with the record dirty icon.

5743

V2.1 example (http://mvc.ext.net/GridPanel_Update/Batch/) works fine.
But V2.2 example ( http://localhost:YOUR_LOCAL_PORT/GridPanel_Update/Batch/ ) fails as shown in the picture above.

Since ext.js in the nightly build is also beta, I'm not sure if it is Sencha's bug or else..

Thanks in advance.

Baidaly
Mar 01, 2013, 11:02 PM
Hello!

I was able to reproduce. We are investigating.

Baidaly
Mar 01, 2013, 11:37 PM
It's seems to be Ext JS bug. Temporarily use the following:



<Command Handler="
record.reject();
#{GridPanel1}.view.refresh();" />

cankut84
Mar 02, 2013, 6:27 AM
Thanks for rapid solution.

Do You know, if this bug is reported to Sencha?

Baidaly
Mar 02, 2013, 8:35 AM
We are investigating and then maybe will report to Sencha.

Baidaly
Mar 04, 2013, 10:44 PM
Hello!

Sencha has opened the bug ticket.
http://www.sencha.com/forum/showthread.php?257913-4.2.0.489-beta-After-calling-record.reject%28%29-GridView-doesn-t-clear-dirty-mark&p=944288#post944288

Created an Issue to monitor.
https://github.com/extnet/Ext.NET/issues/156

Daniil
Mar 05, 2013, 4:28 AM
Sencha marked the bug as fixed. So, it will be incorporated to Ext.NET with the next ExtJS release.

Baidaly
Mar 15, 2013, 3:48 AM
Hello!

It should be fixed in SVN and included to the next release (v2.2).

cankut84
Mar 15, 2013, 4:02 AM
Good news.
Thanks for your interest.