Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    error in 13.0 showcase with Track RPCs enabled

    SmartClient Version: v13.0p_2023-08-30/AllModules Development Only (built 2023-08-30)

    Chrome on MacOS

    Hello, if I open https://www-demos.smartclient.com/sm...&skin=Twilight

    then execute in the browser console:
    Code:
    dsListGrid.filterData({operator:"and", criteria:[{fieldName:"SKU", operator:"notNull"}]})
    then
    Code:
    dsListGrid.refreshData()
    everything works. Then, if I open the dev console, check "Track RPCs", and execute again:
    Code:
    dsListGrid.refreshData()
    I get this error (only in the browser console):

    Code:
    ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:1606 Uncaught TypeError: Cannot read properties of undefined (reading 'timeSent')
        at _3.isc_c_RPCManager_convertToTransactionRecord [as convertToTransactionRecord] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:1606:95)
        at _3.isc_DebugTarget_pushRPCUpdate [as pushRPCUpdate] (ISC_Core.js?isc_version=v13.0p_2023-08-30.js:2933:755)
        at _3.isc_c_RPCManager_pushRPCUpdate [as pushRPCUpdate] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:1446:375)
        at Object.changed (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:1420:699)
        at _3.isc_c_RPCManager__createTransaction [as $385] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:1420:740)
        at _3.isc_c_RPCManager_sendRequest [as sendRequest] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:1408:128)
        at _3.isc_DataSource_performSCServerOperation [as performSCServerOperation] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:2730:75)
        at _3.isc_DataSource_sendDSRequest [as sendDSRequest] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:710:13)
        at _3.isc_DataSource_performDSOperation [as performDSOperation] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:682:76)
        at _3.isc_DataSource_fetchData [as fetchData] (ISC_DataBinding.js?isc_version=v13.0p_2023-08-30.js:625:99)
        at _3.isc_Canvas_refreshData [as refreshData] (ISC_Core.js?isc_version=v13.0p_2023-08-30.js:4897:106)
        at <anonymous>:1:12

    #2
    Thanks for the report - we've addressed the crash from this code and you can try out the fix in today's builds, dated September 1 or later.
    Last edited by Isomorphic; 31 Aug 2023, 22:38.

    Comment


      #3
      SmartClient Version: v13.0p_2023-09-01/AllModules Development Only (built 2023-09-01)

      I can confirm it's fixed, thank you very much

      Comment

      Working...
      X