Announcement

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

    error: compareValues called on window object

    SmartClient Version: v9.0p_2013-10-08/EVAL Deployment
    Chrome 30.0.1599.69, Firefox 24.0, IE10

    With this build (and also v9.0p_2013-10-05, v9.0p_2013-10-04) I've got this strange error:
    Code:
    11:15:01.885:XRP1:WARN:Log:TypeError: this.compareValues is not a function
    Stack from error.stack:
        .compareValues() @ isomorphic/system/modules-debug/ISC_Forms.js?isc_version=v90p_2013-10-08.js:14313
        .compareValues() @ isomorphic/system/modules-debug/ISC_Forms.js?isc_version=v90p_2013-10-08.js:25202
        .handleChange() @ isomorphic/system/modules-debug/ISC_Forms.js?isc_version=v90p_2013-10-08.js:25109
        .storeValue() @ isomorphic/system/modules-debug/ISC_Forms.js?isc_version=v90p_2013-10-08.js:23644
        .showValue() @ everyRole.js?1381309981000:3301
        .clienteRichiedenteChanged() @ everyRole.js?1381309981000:3828
        .fetchAndSetCliente/<() @ everyRole.js?1381309981000:3531
        .fireCallback() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:5689
        .fireCallback() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:7349
        .fireResponseCallbacks() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:15980
        ._completeResponseProcessing() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:15948
        ._handleSCServerReply() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:47434
        .fireCallback() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:5689
        .fireCallback() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:7349
        .fireReplyCallback() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:34860
        .fireReplyCallbacks() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:34926
        .performOperationReply() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:34851
        ._performTransactionReply() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:34740
        .performTransactionReply() @ isomorphic/system/modules-debug/ISC_DataBinding.js?isc_version=v90p_2013-10-08.js:34149
        anonymous() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:1386
        .fireCallback() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:5689
        .performXmlTransactionReply() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:25306
        anonymous() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:1386
        .fireCallback() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:5692
        ._fireXMLCallback() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:24998
        .sendXmlHttpRequest/loadFunc() @ isomorphic/system/modules-debug/ISC_Core.js?isc_version=v90p_2013-10-08.js:25218
        unnamed() @
    when calling storeValue on a canvasItem. Did you change something in this area?

    It works correctly with v9.0p_2013-09-24. I don't know the exact build when started the problem.
    Edit: I've downloaded other builds:
    v9.0p_2013-10-03 is working correctly
    v9.0p_2013-10-04 doesn't work
    Last edited by claudiobosticco; 9 Oct 2013, 02:37.

    #2
    actually I see that the DynamicForm.compareValues changed in v9.0p_2013-10-04.

    if, in the (debug modules) isc_Forms.js version v9.0p_2013-10-04, I change line 14312 from
    Code:
    if (!this.compareValues(value1[i], value2[i])) return false;
    to
    Code:
    if (!isc.isA.DynamicForm(this)) {
        if (!isc.DynamicForm.compareValues(value1[i], value2[i])) return false;
    } else if (!this.compareValues(value1[i], value2[i])) return false;
    the problem is fixed
    Last edited by claudiobosticco; 10 Oct 2013, 07:13.

    Comment


      #3
      v9.0p_2013-10-13/EVAL Deployment

      it seems that you've made changes to address the issue, thank you very much.

      Comment

      Working...
      X