Announcement

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

    [IE9 bug] FacetChart.showValueOnHover:true js error

    SmartClient Version: v8.3p_2013-02-20/PowerEdition Development Only (built 2013-02-20)

    if you modify the #simpleChart sample, adding showValueOnHover:true, and then switch by context menu on 'Column' type, or to 'unstacked', or to 'unfilled', you'll get this error in the developer console:
    Code:
    14:52:36.089:INFO:Log:initialized
    14:52:36.439:WARN:ExampleTree:exampleTree:The node titled 'Edit Pane' references a non-existant id: tilePalette
    14:52:36.439:WARN:ExampleTree:exampleTree:The node titled 'Coordinate Persistence' references a non-existant id: automaticPersistence
    14:52:36.484:INFO:Log:isc.Page is loaded
    14:52:36.562:WARN:Log:Detected loading of more than one skin - 'Graphite' was loaded when 'Graphite' was already loaded.  See the QuickStart Guide for instructions on correctly changing the current skin
    14:52:37.098:TMR2:WARN:FileLoader:Suppressed duplicate load of module: Drawing
    14:52:37.102:TMR2:WARN:FileLoader:Suppressed duplicate load of module: PluginBridges
    14:52:37.132:TMR2:WARN:FileLoader:Suppressed duplicate load of module: Charts
    14:52:37.149:TMR2:WARN:Log:New Class ID: 'IAutoFitButton' collides with ID of existing Class object '[Class IAutoFitButton]'.  Existing object will be replaced.
    14:52:37.153:TMR2:WARN:Log:New Class ID: 'HeaderImgButton' collides with ID of existing Class object '[Class HeaderImgButton]'.  Existing object will be replaced.
    14:52:37.160:TMR2:WARN:Log:Detected loading of more than one skin - 'Graphite' was loaded when 'Graphite' was already loaded.  See the QuickStart Guide for instructions on correctly changing the current skin
    14:54:06.684:MUP0:WARN:DrawKnob:isc_DrawKnob_0:Attempt to access destroyed widget in the DOM - destroy() called at invalid time (eg: mid-draw) or invalid method called on destroy()d widget. Stack Trace:
        [a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.getLeft()
        Canvas.moveTo(_1=>-100, _2=>-100, _3=>undef, _4=>undef)
        FacetChart.$100w()
        FacetChart.$1002()
        FacetChart.drawData()
        FacetChart.drawChart()
        FacetChart.$105a()
        FacetChart.setData(_1=>Array[12])
        FacetChart.setChartType(_1=>"Column", _2=>undef)
        setChartTypeObservation(_1=>"Column", _2=>undef)
        [a]SelectItem.changed(form=>[DynamicForm ID:chartSelector],  item=>[SelectItem ID:isc_SelectItem_0 name:chartType],  value=>"Column")
        FormItem.handleChanged(_1=>"Column")
        FormItem.storeValue(_1=>"Column")
        FormItem.$10y(_1=>"Column")
        SelectItem.updateValue()
        SelectItem.changeToValue(_1=>"Column", _2=>true)
        SelectItem.pickValue(_1=>"Column")
        PickListMenu.itemClick(_1=>Obj)
        PickListMenu.recordClick(_1=>[PickListMenu ID:isc_PickListMenu_0], _2=>Obj, _3=>1, _4=>Obj{name:chartType}, _5=>0, _6=>"Column", _7=>"Column")
        ListGrid.rowClick(_1=>Obj, _2=>1, _3=>0, _4=>undef)
        [a]GridBody.rowClick(record=>Obj, rowNum=>1, colNum=>0)
        GridRenderer.$29y(_1=>1, _2=>0)
        [a]MathFunction.invokeSuper(_1=>null, _2=>"$29y", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        [a]MathFunction.Super(_1=>"$29y", _2=>Obj{length:2}, _3=>undef)
        GridBody.$29y(_1=>1, _2=>0)
        GridRenderer.click(Obj, undef)
        Canvas.handleClick(_1=>Obj, _2=>undef)
        [c]EventHandler.bubbleEvent(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>"click", _3=>undef, _4=>undef)
        [c]EventHandler.handleClick(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>undef)
        [c]EventHandler.$k5(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.handleMouseUp(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>undef)
        anonymous(event=>undef)
            "if (!isc.Browser.isIE && event == null) return;var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);return returnVal;"
    
    14:54:06.692:MUP0:WARN:DrawKnob:isc_DrawKnob_0:Attempt to access destroyed widget in the DOM - destroy() called at invalid time (eg: mid-draw) or invalid method called on destroy()d widget. Stack Trace:
        [a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.getTop()
        Canvas.moveTo(_1=>-100, _2=>-100, _3=>undef, _4=>undef)
        FacetChart.$100w()
        FacetChart.$1002()
        FacetChart.drawData()
        FacetChart.drawChart()
        FacetChart.$105a()
        FacetChart.setData(_1=>Array[12])
        FacetChart.setChartType(_1=>"Column", _2=>undef)
        setChartTypeObservation(_1=>"Column", _2=>undef)
        [a]SelectItem.changed(form=>[DynamicForm ID:chartSelector],  item=>[SelectItem ID:isc_SelectItem_0 name:chartType],  value=>"Column")
        FormItem.handleChanged(_1=>"Column")
        FormItem.storeValue(_1=>"Column")
        FormItem.$10y(_1=>"Column")
        SelectItem.updateValue()
        SelectItem.changeToValue(_1=>"Column", _2=>true)
        SelectItem.pickValue(_1=>"Column")
        PickListMenu.itemClick(_1=>Obj)
        PickListMenu.recordClick(_1=>[PickListMenu ID:isc_PickListMenu_0], _2=>Obj, _3=>1, _4=>Obj{name:chartType}, _5=>0, _6=>"Column", _7=>"Column")
        ListGrid.rowClick(_1=>Obj, _2=>1, _3=>0, _4=>undef)
        [a]GridBody.rowClick(record=>Obj, rowNum=>1, colNum=>0)
        GridRenderer.$29y(_1=>1, _2=>0)
        [a]MathFunction.invokeSuper(_1=>null, _2=>"$29y", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        [a]MathFunction.Super(_1=>"$29y", _2=>Obj{length:2}, _3=>undef)
        GridBody.$29y(_1=>1, _2=>0)
        GridRenderer.click(Obj, undef)
        Canvas.handleClick(_1=>Obj, _2=>undef)
        [c]EventHandler.bubbleEvent(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>"click", _3=>undef, _4=>undef)
        [c]EventHandler.handleClick(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>undef)
        [c]EventHandler.$k5(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.handleMouseUp(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>undef)
        anonymous(event=>undef)
            "if (!isc.Browser.isIE && event == null) return;var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);return returnVal;"
    
    14:54:06.700:MUP0:WARN:DrawKnob:isc_DrawKnob_0:Attempt to access destroyed widget in the DOM - destroy() called at invalid time (eg: mid-draw) or invalid method called on destroy()d widget. Stack Trace:
        [a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.$q5(_1=>-100, _2=>-100, _3=>null, _4=>null)
        Canvas.moveBy(_1=>-127, _2=>-426, _3=>undef, _4=>undef)
        Canvas.moveTo(_1=>-100, _2=>-100, _3=>undef, _4=>undef)
        FacetChart.$100w()
        FacetChart.$1002()
        FacetChart.drawData()
        FacetChart.drawChart()
        FacetChart.$105a()
        FacetChart.setData(_1=>Array[12])
        FacetChart.setChartType(_1=>"Column", _2=>undef)
        setChartTypeObservation(_1=>"Column", _2=>undef)
        [a]SelectItem.changed(form=>[DynamicForm ID:chartSelector],  item=>[SelectItem ID:isc_SelectItem_0 name:chartType],  value=>"Column")
        FormItem.handleChanged(_1=>"Column")
        FormItem.storeValue(_1=>"Column")
        FormItem.$10y(_1=>"Column")
        SelectItem.updateValue()
        SelectItem.changeToValue(_1=>"Column", _2=>true)
        SelectItem.pickValue(_1=>"Column")
        PickListMenu.itemClick(_1=>Obj)
        PickListMenu.recordClick(_1=>[PickListMenu ID:isc_PickListMenu_0], _2=>Obj, _3=>1, _4=>Obj{name:chartType}, _5=>0, _6=>"Column", _7=>"Column")
        ListGrid.rowClick(_1=>Obj, _2=>1, _3=>0, _4=>undef)
        [a]GridBody.rowClick(record=>Obj, rowNum=>1, colNum=>0)
        GridRenderer.$29y(_1=>1, _2=>0)
        [a]MathFunction.invokeSuper(_1=>null, _2=>"$29y", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        [a]MathFunction.Super(_1=>"$29y", _2=>Obj{length:2}, _3=>undef)
        GridBody.$29y(_1=>1, _2=>0)
        GridRenderer.click(Obj, undef)
        Canvas.handleClick(_1=>Obj, _2=>undef)
        [c]EventHandler.bubbleEvent(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>"click", _3=>undef, _4=>undef)
        [c]EventHandler.handleClick(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>undef)
        [c]EventHandler.$k5(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.handleMouseUp(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>undef)
        anonymous(event=>undef)
            "if (!isc.Browser.isIE && event == null) return;var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);return returnVal;"
    
    14:54:06.707:MUP0:WARN:DrawKnob:isc_DrawKnob_0:Attempt to access destroyed widget in the DOM - destroy() called at invalid time (eg: mid-draw) or invalid method called on destroy()d widget. Stack Trace:
        [a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.getLeft()
        DrawKnob.updateKnobShape()
        DrawKnob.moved(-127, -426)
        Canvas.handleMoved(_1=>-127, _2=>-426)
        Canvas.$t2()
        Canvas.moveBy(_1=>-127, _2=>-426, _3=>undef, _4=>undef)
        Canvas.moveTo(_1=>-100, _2=>-100, _3=>undef, _4=>undef)
        FacetChart.$100w()
        FacetChart.$1002()
        FacetChart.drawData()
        FacetChart.drawChart()
        FacetChart.$105a()
        FacetChart.setData(_1=>Array[12])
        FacetChart.setChartType(_1=>"Column", _2=>undef)
        setChartTypeObservation(_1=>"Column", _2=>undef)
        [a]SelectItem.changed(form=>[DynamicForm ID:chartSelector],  item=>[SelectItem ID:isc_SelectItem_0 name:chartType],  value=>"Column")
        FormItem.handleChanged(_1=>"Column")
        FormItem.storeValue(_1=>"Column")
        FormItem.$10y(_1=>"Column")
        SelectItem.updateValue()
        SelectItem.changeToValue(_1=>"Column", _2=>true)
        SelectItem.pickValue(_1=>"Column")
        PickListMenu.itemClick(_1=>Obj)
        PickListMenu.recordClick(_1=>[PickListMenu ID:isc_PickListMenu_0], _2=>Obj, _3=>1, _4=>Obj{name:chartType}, _5=>0, _6=>"Column", _7=>"Column")
        ListGrid.rowClick(_1=>Obj, _2=>1, _3=>0, _4=>undef)
        [a]GridBody.rowClick(record=>Obj, rowNum=>1, colNum=>0)
        GridRenderer.$29y(_1=>1, _2=>0)
        [a]MathFunction.invokeSuper(_1=>null, _2=>"$29y", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        [a]MathFunction.Super(_1=>"$29y", _2=>Obj{length:2}, _3=>undef)
        GridBody.$29y(_1=>1, _2=>0)
        GridRenderer.click(Obj, undef)
        Canvas.handleClick(_1=>Obj, _2=>undef)
        [c]EventHandler.bubbleEvent(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>"click", _3=>undef, _4=>undef)
        [c]EventHandler.handleClick(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>undef)
        [c]EventHandler.$k5(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.handleMouseUp(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>undef)
        anonymous(event=>undef)
            "if (!isc.Browser.isIE && event == null) return;var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);return returnVal;"
    
    14:54:06.714:MUP0:WARN:DrawKnob:isc_DrawKnob_0:Attempt to access destroyed widget in the DOM - destroy() called at invalid time (eg: mid-draw) or invalid method called on destroy()d widget. Stack Trace:
        [a]MathFunction.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef, _5=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.getTop()
        DrawKnob.updateKnobShape()
        DrawKnob.moved(-127, -426)
        Canvas.handleMoved(_1=>-127, _2=>-426)
        Canvas.$t2()
        Canvas.moveBy(_1=>-127, _2=>-426, _3=>undef, _4=>undef)
        Canvas.moveTo(_1=>-100, _2=>-100, _3=>undef, _4=>undef)
        FacetChart.$100w()
        FacetChart.$1002()
        FacetChart.drawData()
        FacetChart.drawChart()
        FacetChart.$105a()
        FacetChart.setData(_1=>Array[12])
        FacetChart.setChartType(_1=>"Column", _2=>undef)
        setChartTypeObservation(_1=>"Column", _2=>undef)
        [a]SelectItem.changed(form=>[DynamicForm ID:chartSelector],  item=>[SelectItem ID:isc_SelectItem_0 name:chartType],  value=>"Column")
        FormItem.handleChanged(_1=>"Column")
        FormItem.storeValue(_1=>"Column")
        FormItem.$10y(_1=>"Column")
        SelectItem.updateValue()
        SelectItem.changeToValue(_1=>"Column", _2=>true)
        SelectItem.pickValue(_1=>"Column")
        PickListMenu.itemClick(_1=>Obj)
        PickListMenu.recordClick(_1=>[PickListMenu ID:isc_PickListMenu_0], _2=>Obj, _3=>1, _4=>Obj{name:chartType}, _5=>0, _6=>"Column", _7=>"Column")
        ListGrid.rowClick(_1=>Obj, _2=>1, _3=>0, _4=>undef)
        [a]GridBody.rowClick(record=>Obj, rowNum=>1, colNum=>0)
        GridRenderer.$29y(_1=>1, _2=>0)
        [a]MathFunction.invokeSuper(_1=>null, _2=>"$29y", _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        [a]MathFunction.Super(_1=>"$29y", _2=>Obj{length:2}, _3=>undef)
        GridBody.$29y(_1=>1, _2=>0)
        GridRenderer.click(Obj, undef)
        Canvas.handleClick(_1=>Obj, _2=>undef)
        [c]EventHandler.bubbleEvent(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>"click", _3=>undef, _4=>undef)
        [c]EventHandler.handleClick(_1=>[GridBody ID:isc_PickListMenu_0_body], _2=>undef)
        [c]EventHandler.$k5(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.handleMouseUp(_1=>Obj{type:mouseup}, _2=>undef)
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>undef)
        anonymous(event=>undef)
            "if (!isc.Browser.isIE && event == null) return;var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);return returnVal;"
    
    14:54:06.719:MUP0:WARN:Log:Error:
    	'Impossibile ottenere il valore della proprietà 'style': oggetto nullo o non definito'
    	in http://localhost:8082/isomorphic/system/modules/ISC_Drawing.js?isc_version=v8.3p_2013-02-20.js
    	at line 207

    #2
    Also, if you 'clear' the chart with simpleChart.setData([]), and then hover on the ex-chart area, you'll get the same error.

    Comment


      #3
      Also, I was expecting that if I have got new data, setData will redraw the chart, but it has no effect.

      Have I to destroy and re-create the chart?

      Comment


        #4
        Originally posted by claudiobosticco View Post
        Also, I was expecting that if I have got new data, setData will redraw the chart, but it has no effect.

        Have I to destroy and re-create the chart?
        actually the #dynamicDataCharting sample answers my question.

        But, if you put showValueOnHover:true in dynamicDataCharting sample, then it stops working.

        Comment


          #5
          This problem (showValueOnHover causing JS errors if the chart is completely rebuild via setData() or switching chart type) is now fixed for tomorrow's 3.1 and 4.0 builds.

          Comment


            #6
            SmartClient Version: v8.3p_2013-02-25/PowerEdition Development Only (built 2013-02-25)

            thanks, but I've found another error with IE9.

            please add showValueOnHover:true to #simpleChart sample, then, by context menu, switch to 'Column' and then to unstacked
            Code:
            15:04:17.762:INFO:Log:initialized
            15:04:18.189:WARN:ExampleTree:exampleTree:The node titled 'Edit Pane' references a non-existant id: tilePalette
            15:04:18.190:WARN:ExampleTree:exampleTree:The node titled 'Coordinate Persistence' references a non-existant id: automaticPersistence
            15:04:18.256:INFO:Log:isc.Page is loaded
            15:04:18.299:WARN:Log:Detected loading of more than one skin - 'Graphite' was loaded when 'Graphite' was already loaded.  See the QuickStart Guide for instructions on correctly changing the current skin
            15:04:18.822:TMR4:WARN:FileLoader:Suppressed duplicate load of module: Drawing
            15:04:18.826:TMR4:WARN:FileLoader:Suppressed duplicate load of module: PluginBridges
            15:04:18.868:TMR4:WARN:FileLoader:Suppressed duplicate load of module: Charts
            15:04:18.885:TMR4:WARN:Log:New Class ID: 'IAutoFitButton' collides with ID of existing Class object '[Class IAutoFitButton]'.  Existing object will be replaced.
            15:04:18.889:TMR4:WARN:Log:New Class ID: 'HeaderImgButton' collides with ID of existing Class object '[Class HeaderImgButton]'.  Existing object will be replaced.
            15:04:18.895:TMR4:WARN:Log:Detected loading of more than one skin - 'Graphite' was loaded when 'Graphite' was already loaded.  See the QuickStart Guide for instructions on correctly changing the current skin
            15:04:48.905:MUP1:WARN:Log:Error:
            	'Impossibile impostare il valore della proprietà 'on': oggetto nullo o non definito'
            	in http://localhost:8082/isomorphic/system/modules/ISC_Drawing.js?isc_version=v8.3p_2013-02-25.js
            	at line 174

            Comment


              #7
              Fixed for tomorrow's 3.1 and 4.0 builds.

              Comment


                #8
                just verified on SmartClient Version: v8.3p_2013-03-05/PowerEdition Deployment (built 2013-03-05)
                thank you very much.

                Comment

                Working...
                X