Uploaded image for project: 'Queries directory'
  1. Queries directory
  2. QUERIES-93

ExtsJS error when creating a query with queries tool opened

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.0
    • 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

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: