-
Bug
-
Resolution: Fixed
-
Major
-
3.9
-
None
-
Chrome
How to reproduce :
- select a document of the resources explorer,
- clic on Rename File button
- the next error appears : A component had an exception during the process of a message from the bus
TypeError: Cannot read property 'length' of undefined TypeError: Cannot read property 'length' of undefined at Ext.define._isOnTree (http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:383:30) at Ext.define._onResourceEdited (http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:515:14) at Ext.define.fire (http://localhost:8101/cms/resources/js/Ametys/message/MessageBus.i18n.js:145:14) at http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:2088:27
Firebug logs
2013-09-10T10:31:08.122+02:00 ERROR [Ametys.message.MessageBus] Un composant a rencontré une exception lors du traitement d'un message du bus (TypeError: rootIds is undefined) ._isOnTree@http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:383 ._onResourceEdited@http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:515 .fire@http://localhost:8101/cms/resources/js/Ametys/message/MessageBus.i18n.js:145 Ext.Function.bind/<@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:2088 anonymous()Messag...i18n.js (ligne 153) anonymous()ext-all-debug.js (ligne 2088) category: "Ametys.message.MessageBus" Messag...i18n.js (ligne 153) TypeError: rootIds is undefined for (var i = 0; i < rootIds.length; i++)
[CMS-4721] An error ocur when it refreshes the resource explorer panel after rename a file
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Fix Version/s | New: 3.7_LTE [ 11927 ] |
Assignee | New: Laurence Aumeunier [ laurence ] |
Description |
Original:
How to reproduce : - select a document of the resources explorer, - clic on Rename File button - the next error appears : A component had an exception during the process of a message from the bus {code}TypeError: Cannot read property 'length' of undefined TypeError: Cannot read property 'length' of undefined at Ext.define._isOnTree (http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:383:30) at Ext.define._onResourceEdited (http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:515:14) at Ext.define.fire (http://localhost:8101/cms/resources/js/Ametys/message/MessageBus.i18n.js:145:14) at http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:2088:27{code} |
New:
How to reproduce :
- select a document of the resources explorer, - clic on Rename File button - the next error appears : A component had an exception during the process of a message from the bus {code}TypeError: Cannot read property 'length' of undefined TypeError: Cannot read property 'length' of undefined at Ext.define._isOnTree (http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:383:30) at Ext.define._onResourceEdited (http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:515:14) at Ext.define.fire (http://localhost:8101/cms/resources/js/Ametys/message/MessageBus.i18n.js:145:14) at http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:2088:27{code} Firebug logs {code}2013-09-10T10:31:08.122+02:00 ERROR [Ametys.message.MessageBus] Un composant a rencontré une exception lors du traitement d'un message du bus (TypeError: rootIds is undefined) ._isOnTree@http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:383 ._onResourceEdited@http://localhost:8101/cms/plugins/cms/resources/js/Ametys/plugins/cms/explorer/SimpleResourcesExplorerTool.i18n.js:515 .fire@http://localhost:8101/cms/resources/js/Ametys/message/MessageBus.i18n.js:145 Ext.Function.bind/<@http://localhost:8101/cms/plugins/extjs4/resources/js/ext-all-debug.js:2088 anonymous()Messag...i18n.js (ligne 153) anonymous()ext-all-debug.js (ligne 2088) category: "Ametys.message.MessageBus" Messag...i18n.js (ligne 153) TypeError: rootIds is undefined for (var i = 0; i < rootIds.length; i++){code} |
Attachment | New: jira-capture-screenshot-20130910-095919-878.png [ 14194 ] |