Announcement

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

    js error in an heavily customized grid

    SmartClient Version: v8.2p_2012-06-04/PowerEdition Deployment

    In a heaviliy customized grid I have this js error (chrome, ie8) while double clicking to edit a text area:
    Code:
    17:48:01.312:WARN:DynamicForm:isc_PopUpTextAreaItem_0$21t: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:
        Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.getLeft()
        Canvas.moveTo(_1=>819, _2=>401, _3=>undef, _4=>undef)
        PopUpTextAreaItem.placePopUp()
        PopUpTextAreaItem.showPopUp(_1=>true)
        ListGrid.$30x(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>2, _3=>3, _4=>"Guida per visita impianto")
        [o]CheckboxItem.elementFocus(_1=>false, undef, undef, undef)
        DynamicForm.bubbleItemHandler(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>"elementFocus", _3=>false, _4=>undef, _5=>undef, _6=>undef)
        DynamicForm.elementFocus(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$12v(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$121(_1=>"popUpIcon", _2=>[AElement]{ID:isc_DS})
        [c]FormItem.$120()
            "var _1=this,_2=isc.DynamicForm.$mu(_1),_3=_2.item,_4=_2.overIcon;if(_3){if(_3.iconIsDisabled(_4))_1.blur();else return _3.$121(_4,_1)}"
    
    17:48:01.312:WARN:DynamicForm:isc_PopUpTextAreaItem_0$21t: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:
        Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.getTop()
        Canvas.moveTo(_1=>819, _2=>401, _3=>undef, _4=>undef)
        PopUpTextAreaItem.placePopUp()
        PopUpTextAreaItem.showPopUp(_1=>true)
        ListGrid.$30x(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>2, _3=>3, _4=>"Guida per visita impianto")
        [o]CheckboxItem.elementFocus(_1=>false, undef, undef, undef)
        DynamicForm.bubbleItemHandler(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>"elementFocus", _3=>false, _4=>undef, _5=>undef, _6=>undef)
        DynamicForm.elementFocus(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$12v(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$121(_1=>"popUpIcon", _2=>[AElement]{ID:isc_DS})
        [c]FormItem.$120()
            "var _1=this,_2=isc.DynamicForm.$mu(_1),_3=_2.item,_4=_2.overIcon;if(_3){if(_3.iconIsDisabled(_4))_1.blur();else return _3.$121(_4,_1)}"
    
    17:48:01.328:WARN:DynamicForm:isc_PopUpTextAreaItem_0$21t: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:
        Class.getStackTrace(_1=>undef, _2=>undef, _3=>undef, _4=>undef)
        Canvas.getHandle()
        Canvas.getClipHandle()
        Canvas.getStyleHandle()
        Canvas.$q5(_1=>819, _2=>401, _3=>null, _4=>null)
        Canvas.moveBy(_1=>16, _2=>-22, _3=>undef, _4=>undef)
        Canvas.moveTo(_1=>819, _2=>401, _3=>undef, _4=>undef)
        PopUpTextAreaItem.placePopUp()
        PopUpTextAreaItem.showPopUp(_1=>true)
        ListGrid.$30x(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>2, _3=>3, _4=>"Guida per visita impianto")
        [o]CheckboxItem.elementFocus(_1=>false, undef, undef, undef)
        DynamicForm.bubbleItemHandler(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>"elementFocus", _3=>false, _4=>undef, _5=>undef, _6=>undef)
        DynamicForm.elementFocus(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$12v(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$121(_1=>"popUpIcon", _2=>[AElement]{ID:isc_DS})
        [c]FormItem.$120()
            "var _1=this,_2=isc.DynamicForm.$mu(_1),_3=_2.item,_4=_2.overIcon;if(_3){if(_3.iconIsDisabled(_4))_1.blur();else return _3.$121(_4,_1)}"
    
    17:48:01.343:WARN:Log:Error:
    	''this.form' è nullo o non è un oggetto'
    	in https://localhost:8443/Eleven/isomorphic/system/modules/ISC_Forms.js?isc_version=SC_SNAPSHOT-2012-06-04_v8.2p.js
    	at line 1580
        FormItem.isDisabled()
        FormItem.$15x(_1=>"formCell")
        FormItem.getCellStyle()
        FormItem.$140()
        FormItem.getCellHeight(_1=>undef)
        [c]Canvas.applyTableResizePolicy(_1=>Array[1], _2=>195, _3=>100, _4=>2, _5=>Array[2], _6=>undef, _7=>undef)
        DynamicForm.getInnerHTML(undef)
        Canvas.$px(_1=>undef)
        Canvas.$p8(_1=>true)
        Canvas.draw(_1=>true, undef, undef, undef, undef, undef, undef, undef)
        Class.invokeSuper(_1=>[Class DynamicForm], _2=>"draw", _3=>true, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        DynamicForm.draw(_1=>true, _2=>undef, _3=>undef, _4=>undef)
        Canvas.show()
        PopUpTextAreaItem.showPopUp(_1=>true)
        ListGrid.$30x(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>2, _3=>3, _4=>"Guida per visita impianto")
        [o]CheckboxItem.elementFocus(_1=>false, undef, undef, undef)
        DynamicForm.bubbleItemHandler(_1=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO], _2=>"elementFocus", _3=>false, _4=>undef, _5=>undef, _6=>undef)
        DynamicForm.elementFocus(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$12v(_1=>[AElement]{ID:isc_DS}, _2=>[PopUpTextAreaItem ID:isc_PopUpTextAreaItem_0 name:DESCRIZIONE_SERVIZIO])
        FormItem.$121(_1=>"popUpIcon", _2=>[AElement]{ID:isc_DS})
        [c]FormItem.$120()
            "var _1=this,_2=isc.DynamicForm.$mu(_1),_3=_2.item,_4=_2.overIcon;if(_3){if(_3.iconIsDisabled(_4))_1.blur();else return _3.$121(_4,_1)}"
    any clue on where to look to find the root cause?

    #2
    in this grid I have a field: {isRemoveField:true,frozen:true}

    and if I set frozen:false then the problem disappear.

    so I think it's related to:
    http://forums.smartclient.com/showthread.php?p=87382#post87382

    Comment

    Working...
    X