We encountered a JS crash in IE9, when we close the window after using the filter feature in any header of a ListGrid inside the window. This doesn't happen in Chrome, with the exactly same codes.
Crash Report: (see the attached screen snapshot)
Test.java
ListGridTest.ds.xml
===========================================
[Environment]
SmartGWT Version: SC_SNAPSHOT-2012-01-05_v8.2p/PowerEdition Deployment (built 2012-01-05)
GWT Version: 2.4.0
OS: Windows 7 Premium
Browser: IE 9.0.8112.12461, Chrome 18.0.1025.151, FF 9.0.1
Crash Report: (see the attached screen snapshot)
Code:
Error: 'Unable to get value of the property 'getSavedItemValue': objects is null or undefined' in http://127.0.0.1:8080/test/sc/modules/ISC_Forms.js?isc_version=8.0.js at line 1393 crashed in: FormItem.getValue() Use a pre-9.0 Internet Explorer for best diagnostics, otherwise Firefox or Chrome.
Code:
Window wnd = new Window();
ListGrid lgTest = new ListGrid();
DataSource ds = DataSource.get("dsTest");
lgTest.setDataSource(ds);
lgTest.setAutoFetchData(true);
lgTest.setShowAllColumns(true);
lgTest.setAlternateRecordStyles(true);
lgTest.setShowFilterEditor(true);
lgTest.setFilterOnKeypress(true);
lgTest.setCanHover(true);
wnd.addChild(lgTest);
wnd.show();
Code:
<DataSource ID="dsTest" dataFormat="iscServer" serverType="sql" tableName="images">
<fields>
<field name="id" type="sequence" hidden="true" primaryKey="true"/>
<field name="title" title="Title" type="text" canEdit="true"/>
<field name="image" title="Download" type="binary" canFilter="false"/>
<field name="image_filename" title="Name" type="text"/>
<field name="image_filesize" title="Size" type="integer"/>
<field name="image_date_created" title="Upload Time" type="datetime"/>
</fields>
</DataSource>
[Environment]
SmartGWT Version: SC_SNAPSHOT-2012-01-05_v8.2p/PowerEdition Deployment (built 2012-01-05)
GWT Version: 2.4.0
OS: Windows 7 Premium
Browser: IE 9.0.8112.12461, Chrome 18.0.1025.151, FF 9.0.1
Comment