Announcement

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

    Debug-modules fail with 5.0p 2016-04-11 nightly

    Hello,

    We updated our application to 5.0p LGPL 2016-04-11 nightly and com.smartgwt.debug.SmartGwtNoScriptDebug variant of SmartGWT stopped working.

    We are including the libraries on our host page with

    Code:
    <script src=[B]"app/sc/modules-debug/ISC_Core.js"[/B]></script>
    <script src=[B]"app/sc/modules-debug/ISC_Foundation.js"[/B]></script>
    <script src=[B]"app/sc/modules-debug/ISC_Containers.js"[/B]></script>
    <script src=[B]"app/sc/modules-debug/ISC_Grids.js"[/B]></script>
    <script src=[B]"app/sc/modules-debug/ISC_Forms.js"[/B]></script>
    <script src=[B]"app/sc/modules-debug/ISC_DataBinding.js"[/B]></script>
    On startup, we are getting a lot of EventHandler related exceptions on startup such as "Cannot read property 'INTERSECT_WITH_MOUSE' of undefined" and 404 errors from for example .../sc/client/widgets/editMode/EditProxy.js and finally, a failure with com.google.gwt.core.client.JavaScriptException: (TypeError) : $wnd.isc.setAutoDraw is not a function.

    With our setup, everything works as expected when rolling back to 2016-01-07 nightly. Any ideas ?

    Thanks in advance,
    Marko

    #2
    You need to look at the *first* error and see what it is - all of the other errors are probably coming from that. What it looks like is that some fundamental, early file had a 404 (maybe Canvas or EventHandler) and everything would be expected to break after that.

    Comment


      #3
      Tested this with Safari and the first error it prints out is:

      Code:
      SyntaxError: Unexpected identifier 'skipTeasOnXHR'. Expected '}' to end a object literal.       EventHandler.js:1029
      Then it is all downhill from there.

      Comment


        #4
        Ah, that was fixed earlier today, grab tomorrow's nightly builds to get the fix (or just add the missing comma yourself).

        Comment

        Working...
        X