Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1721

JS error when trying to affect a super user

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.0M6
    • 4.0 alpha
    • None
    • None

      I did not find a consistent way to reproduce it. It can occur when clicking twice on the "Affect super user button", right after having added a population on a site.

      for instance :

      1) Add a population to a site
      2) Add a super a user on this site
      3) Try to reopen the affect super user dialog

      Stack trace :

       
      ServerComm.js:840
      Uncaught TypeError: Cannot read property 'internalId' of undefined
      Ext.define.updateIndexes @ ext-all-debug.js:167071
      Ext.define.onAdd @ ext-all-debug.js:166926
      fire @ ext-all-debug.js:20223
      doFireEvent @ ext-all-debug.js:21130
      prototype.doFireEvent @ ext-all-debug.js:54757
      fireEventArgs @ ext-all-debug.js:20983
      fireEvent @ ext-all-debug.js:20942
      Ext.define.onCollectionAddItems @ ext-all-debug.js:89069
      Ext.define.onCollectionAdd @ ext-all-debug.js:89015
      Ext.define.notify @ ext-all-debug.js:72131
      Ext.define.splice @ ext-all-debug.js:71379
      Ext.define.insert @ ext-all-debug.js:70819
      Ext.define.insert @ ext-all-debug.js:86142
      Ext.define.add @ ext-all-debug.js:85953
      Ext.define._onLoadPopulations @ SelectUser.js:346
      fire @ ext-all-debug.js:20223
      doFireEvent @ ext-all-debug.js:21130
      prototype.doFireEvent @ ext-all-debug.js:54757
      fireEventArgs @ ext-all-debug.js:20983
      fireEvent @ ext-all-debug.js:20942
      Ext.define.onProxyLoad @ ext-all-debug.js:89377
      Ext.define.triggerCallbacks @ ext-all-debug.js:77728
      Ext.define.setCompleted @ ext-all-debug.js:77696
      Ext.define.setSuccessful @ ext-all-debug.js:77709
      Ext.define.process @ ext-all-debug.js:77608
      Ext.define.processResponse @ ext-all-debug.js:86686
      Ext.define.createRequestCallback @ ServerCommProxy.js:130
      (anonymous function) @ ServerComm.js:834
      Ext.Array.ExtArray.forEach.i @ ext-all-debug.js:3079
      Ext.define._dispatch @ ServerComm.js:829
      Ext.define._onRequestComplete @ ServerComm.js:761
      Ext.apply.callback @ ext-all-debug.js:8439
      Ext.define.onComplete @ ext-all-debug.js:25157
      Ext.define.onStateChange @ ext-all-debug.js:25114
      (anonymous function) @ ext-all-debug.js:6662
      setTimeout (async)Ext.Function.ExtFunction.defer @ ext-all-debug.js:6863
      (anonymous function) @ ServerComm.js:842
      Ext.Array.ExtArray.forEach.i @ ext-all-debug.js:3079
      Ext.define._dispatch @ ServerComm.js:829
      Ext.define._onRequestComplete @ ServerComm.js:761
      Ext.apply.callback @ ext-all-debug.js:8439
      Ext.define.onComplete @ ext-all-debug.js:25157
      Ext.define.onStateChange @ ext-all-debug.js:25114
      (anonymous function) @ ext-all-debug.js:6662
      XMLHttpRequest.send (async)Ext.define.start @ ext-all-debug.js:24863
      Ext.define.request @ ext-all-debug.js:25922
      Ext.define._sendMessages @ ServerComm.js:584
      (anonymous function) @ ServerComm.js:333
      setTimeout (async)Ext.define.send @ ServerComm.js:333
      Ext.define.doRequest @ ServerCommProxy.js:87
      Ext.define.read @ ext-all-debug.js:86595
      Ext.define.doExecute @ ext-all-debug.js:77915
      Ext.define.execute @ ext-all-debug.js:77582
      Ext.define.flushLoad @ ext-all-debug.js:85629
      (anonymous function) @ ext-all-debug.js:6677
      (anonymous function) @ ext-all-debug.js:7268
      setTimeout (async)Ext.Function.Ext.asap @ ext-all-debug.js:7264
      Ext.define.load @ ext-all-debug.js:85594
      Ext.define.loadPopulations @ SelectUser.js:397
      Ext.define.act @ SelectUser.js:151
      Ext.define.affectSuperUser @ SuperUserActions.js:30
      (anonymous function) @ ext-all-debug.js:6662
      Ext.define.executeFunctionByName @ Ametys.js:409
      Ext.define.onPress @ ButtonController.js:440
      (anonymous function) @ ext-all-debug.js:6662
      Ext.apply.callback @ ext-all-debug.js:8439
      Ext.define.fireHandler @ ext-all-debug.js:130646
      Ext.define.onClick @ ext-all-debug.js:130634
      fire @ ext-all-debug.js:20223
      Ext.define.fire @ ext-all-debug.js:32463
      Ext.define.publish @ ext-all-debug.js:32439
      Ext.define.doDelegatedEvent @ ext-all-debug.js:32489
      Ext.define.onDelegatedEvent @ ext-all-debug.js:32476
      (anonymous function) @ ext-all-debug.js:6662
      

            sprieul Simon Prieul (Inactive)
            quentin Quentin Glinel-Mortreuil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: