Uploaded image for project: 'Contents Tree'
  1. Contents Tree
  2. CTREE-24

Sometimes an JS error can occurred while loading root node

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

      When there is a path to select, we try to expand path without waiting the load is complete.

      This leads to JS error

      Entry.js:140 2017-08-09T12:13:24+02:00	ERROR	[Ametys.data.ServerComm]	Une erreur est survenue dans le traitement de la réponse serveur (TypeError: Cannot read property 'isVisible' of null)
      	TypeError: Cannot read property 'isVisible' of null
      	    at constructor.onChildNodesAvailable (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:46812:33)
          at Object.callback (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:5441:29)
          at constructor.onChildNodesAvailable (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:47463:15)
          at Object.callback (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:5441:29)
          at constructor.onProxyLoad (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:47915:7)
          at constructor.triggerCallbacks (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:36250:14)
          at constructor.setCompleted (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:36232:6)
          at constructor.setSuccessful (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:36239:10)
          at constructor.process (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:36192:8)
          at constructor.processResponse (http://localhost:9015/cms/plugins/extjs6/resources/ext-all-debug.js:39162:15)
      

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

              Created:
              Updated:
              Resolved: