Announcement

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

    JavaScript error in _calculateStaticSize using Internet Explorer 10

    Hi there,

    we noticed a js error which occurs when using Internet Explorer 10. It seems that in the function _calculateStaticSize in the ISC_Foundation.js file, the sizes array may contain an NaN element, as you can see in the screenshot below.
    It can be reproduced with the latest release SmartClient_v111p_2017-10-18_Pro also in our producive distribution SmartClient_v111p_2017-10-06_Pro.

    The error can't be reproduced in Chrome, Firefox or Internet Explorer 11.
    Best regards

    #2
    Thanks, but, without a way to reproduce the problem, we don't know if this is a bug or usage issue (some usage issues can show up only on some browsers), and even if we assume it's a bug, we don't know what remedy to apply - simply making this part of the code robust against a NaN may mask a deeper problem.

    Comment


      #3
      Thanks for your quick reply. The bug was caused on our side. One of our scripts overrode the isNaN() function for Internet Explorer 10, which then returned a different value than the default function in certain cases. As your scripts use the isNaN function as well, the different behavior influenced your code and led to the error. We have fixed the bug on our side, so may close this thread,

      Best regards,

      Comment

      Working...
      X