Announcement

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

    IE 11 javascript crash on button mouseover

    In an application I am trying to fix for IE 11 bugs, we have upgraded from 8.0 to the latest 9.1p version from earlier this week (2014-03-13).

    When a button in an isc.DynamicForm is moused-over, we get a Javascript error.

    Anyone got any idea on how to fix this?

    Our Javascript error-catching shows it is on line 255 of system/modules/ISC_Core.js, and this error message below in the ISC console:

    16:18:41.971:TMR2:WARN:Log:Error: Invalid argument.
    Stack from error.stack:
    Canvas._assignSize ()
    Button._assignRectToHandle ()
    Canvas._setHandleRect ()
    Canvas.._adjustOverflow ()
    Canvas._adjustOverflow ()
    Canvas.adjustOverflow ()
    Button.setTableClassName ()
    Button.stateChanged ()
    StatefulCanvas.setState ()
    StatefulCanvas.handleMouseOver ()

    This is the button's definition:

    {
    name : 'contactselect',
    shouldSaveValue : false,
    editorType : 'button',
    title : 'Choose',
    align : 'left',
    textAlign : 'left',
    titleAlign : 'left',
    colspan : 1,
    click : function(form, item, value) {
    window.alert('contact select button click');

    pickers.people.pick(function(record) {
    var field = form.getField('contact');

    // set picker data
    field.setValueMap(pickers.people.getValueMap(record));
    field.setValue(pickers.people.getValue(record));

    // clear old record
    field.record = null;

    // remap
    field.mapValueToDisplay(field.getValue());
    });
    },
    startRow : false,
    endRow : true
    }

    The click isn't happening - it dies on mouseover.

    Here are the version details:

    Browser Version: MS IE 11.0.9600.16521

    SmartClient Version: v9.1p_2014-03-13/LGPL Deployment (built 2014-03-13)

    We don't use the Java server/backend, just some PHP web-services.

    #2
    There was a regression in that build - retest with the very latest one...

    Actually, you'll need a build dated March 17 or later

    Comment


      #3
      IE 11 javascript crash on button mouseover

      Still happens in SmartClient Version: v9.1p_2014-04-01/LGPL Deployment (built 2014-04-01).

      Browser Version: MS IE 11.0.9600.16521

      16:44:12.201:TMR8:WARN:Log:Error: Invalid argument.
      Stack from error.stack:
      Canvas._assignSize ()
      Button._assignRectToHandle ()
      Canvas._setHandleRect ()
      Canvas.._adjustOverflow ()
      Canvas._adjustOverflow ()
      Canvas.adjustOverflow ()
      Button.setTableClassName ()
      Button.stateChanged ()
      StatefulCanvas.setState ()
      StatefulCanvas.handleMouseOver ()

      Be sure your post includes:

      1. the *complete* SmartGWT or SmartClient version from the lower left-hand corner of the Developer Console (see FAQ for how to open Developer Console), for example, \"v8.2p_2012-04-18/PowerEdition Deployment\"

      2. browser(s) and version(s) involved

      3. for a server-side problem, the *complete* logs generated during processing of the failing request (do *not* trim to just the error message)

      4. for any problem processing a server response, the actual response as shown in the RPC tab in the Developer Console

      5. if there is a JavaScript error, the stack trace logged in the Developer Console (see FAQ)

      6. sample code if applicable

      Posts with incomplete information are much more likely to be ignored.

      Comment


        #4
        This strongly suggest you're actually running with older code. Restart your browser and clear your cache while on a blank page (without loading anything first).

        Then, use the IE Developer Toola to look at the actual files being downloaded (ISC_Core.js et al) - they have date stamps in the header comment.

        Comment

        Working...
        X