-
Bug
-
Resolution: Fixed
-
Major
-
2.2.0
-
None
-
Chrome 71
-
4.2 M11
How to reproduce
- Open the queries directory tool
- My tree has many folders, some are not expanded
- Open a search tool and save the query into a unexpanded folder
I have the following JS error
TypeError: Cannot read property 'scroll' of null TypeError: Cannot read property 'scroll' of null at constructor.getView (http://localhost:9021/cms/plugins/extjs6/resources/ext-all.js:213726:22) at constructor.getSelectionModel (http://localhost:9021/cms/plugins/extjs6/resources/ext-all.js:214048:16) at constructor._onQueryCreated (http://localhost:9021/cms/plugins/queries-directory/resources/js/Ametys/plugins/queriesdirectory/tree/QueriesTree.js:633:24) at constructor._onCreatedMessage (http://localhost:9021/cms/plugins/queries-directory/resources/js/Ametys/plugins/queriesdirectory/tree/QueriesTree.js:608:13) at constructor.fire (http://localhost:9021/cms/plugins/core-ui/resources/js/Ametys/message/MessageBus.js:169:29) at constructor.cb (http://localhost:9021/cms/plugins/core-ui/resources/js/Ametys/message/MessageMethods.js:152:5) at http://localhost:9021/cms/plugins/extjs6/resources/ext-all.js:7101:28
Note that in the tree the selected folder is correctly expanded and the new query is well selected