Announcement

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

    Smartclient v10.0 - clicking on a menu pops-up an error as shown in th attached file.

    Smartclient v10.0 - clicking on a menu pops-up an error as shown in th attached file.
    This is specific to ISC_Grid.js.
    This is the line number 1204 in ISC_Grids.js file.
    var _2=this.$60z();if(_2!=null||(this.$73p&&this.$73p.length>0)){var _3=(_2!=null?this.getField(_2):null),_4=_3!=null?this.getFieldName(_3):null,_5=this.$766(_3),_6={fieldName:_4,sortDir:_5},_7=isc.shallowClone(this.$73p);_7.clearProperty("primarySort");_7.clearProperty("sortIndex");_7.clearProperty("normalizer");_7.clearProperty("context");_7.clearProperty("$114u");_6.sortSpecifiers=_7;if(_1)return _6;return"("+isc.Comm.serialize(_6,false)+")"}},isc.A.setSortState=function isc_ListGrid_setSortState(_1){_1=this.evalViewState(_1,"sortState")

    This is the line of code which is causing this problem:
    _7=isc.shallowClone(this.$73p);_7.clearProperty("primarySort")

    Here _7 is coming as undefined and on accessing clearProperty() through this undefined we are getting this pop-up.

    We need a fix for this issue on priority.
    Attached Files

    #2
    You didn't mention the build date of your 10.0 version - eval isc.version in the dev console.

    Comment


      #3
      Smartclient version: v10.0p_2015-06-17/Enterprise Deployment

      Comment


        #4
        This is a blocking issue for us and it is blocking our release. Request you to please provide a workaround if any or a fix in the same version we are using. We might not be able to upgrade to the latest version as we have time crunch.
        Consider this on high priority.

        Comment


          #5
          The first thing to do is to retry your testcase against the latest build of your version fro smartclient.com - your current version is four months old and there have been several related menu fixes since then.

          Comment


            #6
            Actually - please try the next nightly build (dated Oct 13 or above).
            We've added a simple speculative fix (a null guard) around the chunk of code in question which should avoid this issue.
            If you continue to see it, or similar problems with the same application, we'll probably need a test case to comment further.

            Thanks
            Isomorphic Software

            Comment


              #7
              We have upgraded smartclient libraries with build "v10.0p_2015-10-25/Enterprise Development Only" but the issue is still present.

              Comment


                #8
                It would appear the speculative fix was not sufficient then.

                We'd recommend you proceed by showing us a way to reproduce the problem. The best way to do this is probably to build a small standalone test case we can run (just the few UI elements required to reproduce the problem plus some simple client-side data to back things if necessary) and show us the runnable code plus clear steps to reproduce the error. This will ensure the problem is actually a framework issue rather than a problem with application code and give us a clear way to analyze and fix it.

                Regards
                Isomorphic Software

                Comment

                Working...
                X