Hello,
I have some issues after upgrading our application base on :
- tomcat7, jdk 7, gwt 2.6.1, smartgwt 4.0p lgpl
to
- tomcat8, jdk 8 (no java 8 syntaxe in code), gwt 2.7.0, smartgwt 5.1p lgpl
Almost parts of the application work well but there is a recurrent issue on function addData() of Datasource class,
when we add a record containing a field of type DataSourceBinaryField, the following JS error happened :
If we comments the line matching to the set of object in record the error disappears, also work with
A working patch will be to add in each DataSource a Map to store all objects, but I hope it will be our last solution.
Thanks for your help.
I have some issues after upgrading our application base on :
- tomcat7, jdk 7, gwt 2.6.1, smartgwt 4.0p lgpl
to
- tomcat8, jdk 8 (no java 8 syntaxe in code), gwt 2.7.0, smartgwt 5.1p lgpl
Almost parts of the application work well but there is a recurrent issue on function addData() of Datasource class,
when we add a record containing a field of type DataSourceBinaryField, the following JS error happened :
Code:
com.google.gwt.core.client.JavaScriptException: (TypeError) : Cannot read property 'getWrapped_1_g$' of undefined
at toString_35_g$(muse-0.js@46:149585)
at toString(muse-0.js@15:345)
at isc_isA_Date(http://localhost:8080/muse/muse/sc/modules/ISC_Core.js?isc_version=10.1p.js@10:140)
at isc_DataSource_serializeFields(http://localhost:8080/muse/muse/sc/modules/ISC_DataBinding.js?isc_version=10.1p.js@222:525)
at isc_DataSource_getServiceInputs(http://localhost:8080/muse/muse/sc/modules/ISC_DataBinding.js?isc_version=10.1p.js@25:551)
at isc_DataSource_sendDSRequest(http://localhost:8080/muse/muse/sc/modules/ISC_DataBinding.js?isc_version=10.1p.js@14:792)
at isc_DataSource_performDSOperation(http://localhost:8080/muse/muse/sc/modules/ISC_DataBinding.js?isc_version=10.1p.js@13:765)
at isc_DataSource_addData(http://localhost:8080/muse/muse/sc/modules/ISC_DataBinding.js?isc_version=10.1p.js@6:752)
at addData_0_g$(muse-0.js@13:19687)
at addData_13_g$(muse-0.js@24:102218)
at addNewEmptyRecord_2_g$(muse-0.js@8:102257)
at initNewExperience_0_g$(muse-0.js@51:80691)
at onClick_141_g$(muse-0.js@25:82036)
at dispatch_242_g$(muse-0.js@16:371077)
at dispatch_241_g$(muse-0.js@8:371073)
at dispatch_2_g$(muse-0.js@8:2190)
at dispatchEvent_2_g$(muse-0.js@14:240612)
at doFire_1_g$(muse-0.js@9:240710)
at fireEvent_7_g$(muse-0.js@8:240783)
at fireEvent_6_g$(muse-0.js@24:240561)
at fireEvent_1_g$(muse-0.js@30:3135)
at anonymous(muse-0.js@16:10539)
at apply_63_g$(muse-0.js@28:216616)
at entry0_0_g$(muse-0.js@16:216672)
at anonymous(muse-0.js@14:216652)
at obj_0_g$.addProperties.click(muse-0.js@22:10549)
at isc_StatefulCanvas_handleActivate(http://localhost:8080/muse/muse/sc/modules/ISC_Foundation.js?isc_version=10.1p.js@108:208)
at isc_StatefulCanvas_handleClick(http://localhost:8080/muse/muse/sc/modules/ISC_Foundation.js?isc_version=10.1p.js@13:209)
at isc_c_EventHandler_bubbleEvent(http://localhost:8080/muse/muse/sc/modules/ISC_Core.js?isc_version=10.1p.js@89:1629)
at isc_c_EventHandler_handleClick(http://localhost:8080/muse/muse/sc/modules/ISC_Core.js?isc_version=10.1p.js@50:1489)
at isc_c_EventHandler__handleMouseUp(http://localhost:8080/muse/muse/sc/modules/ISC_Core.js?isc_version=10.1p.js@11:1474)
at isc_c_EventHandler_handleMouseUp(http://localhost:8080/muse/muse/sc/modules/ISC_Core.js?isc_version=10.1p.js@57:1465)
at isc_c_EventHandler_dispatch(http://localhost:8080/muse/muse/sc/modules/ISC_Core.js?isc_version=10.1p.js@108:1707)
at eval(eval at isc__makeFunction (http://localhost:8080/muse/muse/sc/modules/ISC_Core.js?isc_version=10.1p.js@122:54)
Code:
record.setAttribute('object_key', (Object) null)
Thanks for your help.
Comment