Announcement

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

    DateChooser error using Tahoe skin

    SmartClient Version: SNAPSHOT_v11.1d_2017-03-23/Enterprise Development Only (built 2017-03-23)

    Chrome on OSX

    Hello, please try the #dateItem sample, using Tahoe skin: open the DateChooser and then choose a date, you'll get this error:

    Code:
    11:14:47.981:MUP3:WARN:Log:DateItem{eventParent: [DynamicForm ID:dateForm],
    containerWidget: [DynamicForm ID:dateForm],
    form: [DynamicForm ID:dateForm],
    name: "pickListDate",
    title: "PickList Date",
    type: "date",
    wrapTitle: false,
    validators: Array[1],
    useTextField: false,
    ID: "isc_DateItem_1",
    items: Array[3],
    monthSelector: [SelectItem ID:isc_SelectItem_4 name:monthSelector],
    daySelector: [SelectItem ID:isc_SelectItem_3 name:daySelector],
    yearSelector: [SelectItem ID:isc_SelectItem_2 name:yearSelector],
    pendingStatus: false,
    picker: [DateChooser ID:isc_DateChooser_0]}
    11:14:47.984:MUP3:WARN:Log:DynamicForm{ID: "dateForm",
    numCols: 4,
    width: 650,
    fields: Array[2],
    position: "absolute",
    className: "normal",
    height: 20,
    items: Array[2],
    values: Obj,
    originalFields: Array[2],
    errors: Obj,
    parentElement: [Canvas ID:featureExplorer_exampleViewer_exampleViewPane_viewContainer],
    topElement: [FeatureExplorer ID:featureExplorer],
    tabIndex: 2263,
    ruleScope: "featureExplorer",
    cacheOffsetCoords: true,
    zIndex: 208424,
    hasFocus: false,
    }
    11:14:47.987:MUP3:WARN:Log:DynamicForm{ID: "dateForm",
    numCols: 4,
    width: 650,
    fields: Array[2],
    position: "absolute",
    className: "normal",
    height: 20,
    items: Array[2],
    values: Obj,
    originalFields: Array[2],
    errors: Obj,
    parentElement: [Canvas ID:featureExplorer_exampleViewer_exampleViewPane_viewContainer],
    topElement: [FeatureExplorer ID:featureExplorer],
    tabIndex: 2263,
    ruleScope: "featureExplorer",
    cacheOffsetCoords: true,
    zIndex: 208424,
    hasFocus: false,
    }
    11:14:47.994:MUP3:WARN:Log:TypeError: Cannot read property 'validateOnExit' of null
    Stack from error.stack:
        DateItem.pickerDataChanged(<no args: exited>) on [DateItem ID:isc_DateItem_1 name:pickListDate] @ ISC_Forms.js:2341:168
        _3.eval(<no args: exited>) on [DateChooser ID:isc_DateChooser_0] @ [no file]:4:10
        _3.thunk(<no args: exited>) on [DateItem ID:isc_DateItem_1 name:pickListDate] @ ISC_Core.js:336:28
        _3.observation(<no args: exited>) on [DateChooser ID:isc_DateChooser_0] @ ISC_Core.js:333:378
        DateChooser.dateClick(<no args: exited>) on [DateChooser ID:isc_DateChooser_0] @ ISC_Forms.js:141:26
        _3.dateClick(<no args: exited>) on [DateGrid ID:isc_DateChooser_0_dateGrid] @ ISC_Forms.js:94:1933
        DateGrid.cellClick(<no args: exited>) on [DateGrid ID:isc_DateChooser_0_dateGrid] @ ISC_Forms.js:77:6
        _3.eval(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ [no file]:4:115
        GridRenderer._cellClick(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ ISC_Grids.js:524:59
        GridRenderer._rowClick(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ ISC_Grids.js:522:135
        [c]Class.invokeSuper(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ ISC_Core.js:293:93
        [c]Class.Super(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ ISC_Core.js:285:170
        GridBody._rowClick(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ ISC_Grids.js:591:76
        GridRenderer.click(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ ISC_Grids.js:520:167
        Canvas.handleClick(<no args: exited>) on [GridBody ID:isc_DateChooser_0_dateGrid_body] @ ISC_Core.js:3350:400
        [c]EventHandler.bubbleEvent(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:2030:89
        [c]EventHandler.handleClick(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1886:50
        EventHandler._handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1871:11
        [c]EventHandler.handleMouseUp(<no args: exited>) on [Class EventHandler] @ ISC_Core.js:1862:57
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>[object MouseEvent]) on [Class EventHandler] @ ISC_Core.js:2116:108
        HTMLDocument.eval(event=>[object MouseEvent]) @ [no file]:3:123

    #2
    We aren't seeing this issue against recent builds in any browser - do you still see it? If so, which OS/browser versions?

    In any case, we've added a null check that should address the crash - you can test the fix in builds dated April 4 and later.

    Comment


      #3
      SmartClient Version: SNAPSHOT_v11.1d_2017-04-02/Enterprise Development Only (built 2017-04-02)

      Hello, actually I don't see it with the latest build, thanks anyway for the fix.

      Comment

      Working...
      X