Announcement

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

    List Grid "Configure Sort" errors

    Unfortunately, I cannot reproduce this as a standalone but I am hoping that providing you a stack trace will help. Note that this issue is only in IE and was tested with 09-08 build in 8.1.x nightly build

    Error #1:
    To reproduce this issue, I clicked on column drop down menu and selected "Configure sort" menu. Then I tried to change the Columns and this error occurred.
    Code:
    
    14:21:21.846:MUP6:WARN:Log:Error:
    	'Unknown runtime error'
    	in http://localhost:8080/cwf/isomorphic/system/modules/ISC_Forms.js?v=50350
    	at line 1341
        FormItem.setElementValue(_1=>"<nobr>User ID&nbsp;</nobr>", _2=>"assignedByUserId", undef, undef, undef, undef, undef, undef)
        Class.invokeSuper(_1=>[Class SelectItem], _2=>"setElementValue", _3=>"<nobr>User ID&nbsp;</nobr>", _4=>"assignedByUserId", _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        SelectItem.setElementValue(_1=>"<nobr>User ID&nbsp;</nobr>", _2=>"assignedByUserId", _3=>undef, _4=>undef, _5=>undef)
        SelectItem.setLocalValue(_1=>"assignedByUserId")
        SelectItem.changeToValue(_1=>"assignedByUserId", _2=>true)
        SelectItem.pickValue(_1=>"assignedByUserId")
        PickListMenu.itemClick(_1=>Obj)
        PickListMenu.recordClick(_1=>[PickListMenu ID:isc_PickListMenu_0], _2=>Obj, _3=>1, _4=>Obj{name:property}, _5=>0, _6=>"<nobr>User ID&nbsp;</nobr>", _7=>"assignedByUserId")
        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)
        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:error}, _2=>undef)
        [c]EventHandler.handleMouseUp(_1=>Obj{type:error}, _2=>undef)
        [c]EventHandler.dispatch(_1=>[c]EventHandler.handleMouseUp(), _2=>Obj{type:error})
        anonymous(event=>undef)
            "if (!isc.Browser.isIE && event == null) return;var returnVal=arguments.callee.$ch.isc.EH.dispatch(arguments.callee.$j2,event);return returnVal;"
    Error #2 - occurs when I try to click Configure Sort in some listgrids only.

    Code:
    14:32:27.834:MUP6:WARN:Log:Error:
    	'Unknown runtime error'
    	in http://localhost:8080/cwf/isomorphic/system/modules/ISC_Forms.js?v=50350
    	at line 1341
        FormItem.setElementValue(_1=>"<nobr>Order No&nbsp;</nobr>", _2=>"orderNumber", undef, undef, undef, undef, undef, undef)
        Class.invokeSuper(_1=>[Class SelectItem], _2=>"setElementValue", _3=>"<nobr>Order No&nbsp;</nobr>", _4=>"orderNumber", _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef)
        SelectItem.setElementValue(_1=>"<nobr>Order No&nbsp;</nobr>", _2=>"orderNumber", _3=>undef, _4=>undef, _5=>undef)
        FormItem.setValue(_1=>"orderNumber", _2=>true, undef, undef, undef, undef, undef, undef)
        ** recursed on Class.invokeSuper

    #2
    Unfortunately this kind of opaque error from IE doesn't tell us much. We would need steps to reproduce.

    Comment


      #3
      Not IE. This stacktrace is from isc jsconsole. I'm kind of stuck here. I cannot reproduce in standalone testcase.
      Last edited by acarur01; 8 Sep 2011, 11:13.

      Comment


        #4
        The error message "Unknown runtime error" is from IE. If you can't reproduce it standalone the best we can do is give some speculation of what might cause it - you might be directly messing with the DOM and deleting or changing DOM attributes on the FormItem's data element, or a third-party library might be if you have any such code, or you might have unusual CSS affecting the element, or you might have created a DOM element with the same ID thus clobbering the FormItem's element.

        Comment


          #5
          That's all I was asking for =). Thanks I'll look at those possibilities

          Comment


            #6
            I've figured out what the problem is!

            Run the following sample in IE. (I used IE8 to test - but was told it is also reproduceable in IE9). Click on arrow beside one of the columns to display menus and click on "Configue Sort". The error shows up. This error is due to the title having html tags "<nobr>". Please advise.

            Code:
            
            isc.ListGrid.create({
                ID: "countryList",
                width:500, height:300, alternateRecordStyles:true,
                dataSource: worldDS,
                fields:[
                    {name:"countryCode", title:"<nobr>Code</nobr>", width:50},
                    {name:"countryName", title:"Country"},
                    {name:"capital", title:"Capital"},
                    {name:"continent", title:"Continent"}
                ],
                autoFetchData: true,
                showFilterEditor: true
            })

            Comment


              #7
              Fascinating. It's a native Internet Explorer bug whereby you can't assign certain HTML directly to some elements within the page.
              We've added some code to workaround this - should be fixed in nightly builds going forward.

              Comment


                #8
                Thanks alot!

                Comment

                Working...
                X