Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-4718

An error occured when I create a new folder in the resources explorer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.9
    • 3.9
    • None
    • Chrome

      How to reproduce :

      • in the resources tab, clic on "New folder"
      • the folder is created but an alert appears with this error : Process error, an error accured while processing server response.
      TypeError: Cannot call method 'getStore' of undefined
      TypeError: Cannot call method 'getStore' of undefined
      at Ext.define._renameNode (http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:291:25)
      at Object.Ext.apply.callback (http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:7244:26)
      at Ext.define.onProxyLoad (http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:77758:13)
      at Ext.define.processResponse (http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:71541:22)
      at Ext.define.createRequestCallback (http://localhost:8101/cms/kernel/resources/js/Ametys.i18n.js:580:9)
      at Ext.define._dispatch (http://localhost:8101/cms/kernel/resources/js/Ametys/data/ServerComm.i18n.js:591:33)
      at Ext.define._onRequestComplete (http://localhost:8101/cms/kernel/resources/js/Ametys/data/ServerComm.i18n.js:567:10)
      at Object.Ext.apply.callback (http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:7244:26)
      at Ext.define.onComplete (http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:32932:17)
      at Ext.define.onStateChange (http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:32891:16)
      

      Firebug logs :

      TypeError: this._tree is undefined
      
      var node = this._tree.getStore().getNodeById(id);
      
      Simple...i18n.js (ligne 291)
      2013-09-10T10:32:55.689+02:00 ERROR [Ametys.data.ServerComm] Une erreur est survenue dans le traitement de la réponse serveur (TypeError: this._tree is undefined) ._renameNode@http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:291 .callback@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:7244 .onProxyLoad@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:77758 .processResponse@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:71541 .createRequestCallback@http://localhost:8101/cms/kernel/resources/js/Ametys.i18n.js:580 ._dispatch@http://localhost:8101/cms/kernel/resources/js/Ametys/data/ServerComm.i18n.js:591 ._onRequestComplete@http://localhost:8101/cms/kernel/resources/js/Ametys/data/ServerComm.i18n.js:567 .callback@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:7244 .onComplete@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:32932 .onStateChange@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:32891 Ext.Function.bind/<@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:2088
      anonymous()Server...i18n.js (ligne 605)
      anonymous()ext-all-debug.js (ligne 7244)
      anonymous()ext-all-debug.js (ligne 2088)
      
      category: "Ametys.data.ServerComm"

            laurence Laurence Aumeunier
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: