Uploaded image for project: 'Skin editor'
  1. Skin editor
  2. SKIN-60

[Editor Tool] JS error in the console when saving & leaving

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0
    • 2.0.0
    • None

      Open a file for edit, modify it, then click on the "Save & quit" button.
      Everything seem to be OK, but a JS error appears in the console :

      Uncaught TypeError: Cannot read property 'items' of null
      Ext.define.onToolInfoChanged @ ZonedTabsToolsLayout.js:383
      Ext.define._infoChanging @ ToolPanel.js:198
      (anonymous function) @ ext-all-debug.js:6960
      setTimeout (async)(anonymous function) @ ext-all-debug.js:6956
      Ext.define.setDirtyState @ ToolPanel.js:156
      Ext.define.setDirty @ Tool.js:458
      Ext.define._saveCb @ SkinResourcesActions.js:116
      (anonymous function) @ ServerComm.js:382
      Ext.Array.ExtArray.forEach.i @ ext-all-debug.js:3079
      Ext.define._callProcessed @ ServerComm.js:381
      (anonymous function) @ ServerComm.js:789
      Ext.Array.ExtArray.forEach.i @ ext-all-debug.js:3079
      Ext.define._dispatch @ ServerComm.js:784
      Ext.define._onRequestComplete @ ServerComm.js:722
      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:545
      (anonymous function) @ ServerComm.js:313
      setTimeout (async)Ext.define.send @ ServerComm.js:313
      Ext.define.callMethod @ ServerComm.js:341
      Ext.define._startSave @ SkinResourcesActions.js:58
      Ext.define.saveAndQuit @ SkinResourcesActions.js:39
      (anonymous function) @ ext-all-debug.js:6662
      Ext.define.executeFunctionByName @ Ametys.js:409
      Ext.define.onPress @ ButtonController.js:391
      (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:131123
      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
      

            trizzi Thibaut Rizzi (Inactive)
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: