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

JS error when search tool is open at startup

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0 alpha
    • None
    • None
    • None

      In a blog site, the search tool have to have opened at startup, with the parameter startSearchAtOpening to true. This is defined in cms-uitool-blog.xml

      <uitool-factory id="uitool-blog-search">startSearchAtOpening:true</uitool-factory>
      

      Go to a blog site, then reinitialize the workspace. The following error occurs:

      TypeError: Cannot read property 'unmask' of undefined
      TypeError: Cannot read property 'unmask' of undefined
      at Ext.define.unmask (http://localhost:8080/cms/plugins/extjs6/resources/ext-all-debug.js:65438:42)
      at Ext.define._onBeforeLoad (http://localhost:8080/cms/plugins/cms/resources/js/Ametys/plugins/cms/search/SearchTool.js:1231:33)
      

            ngavalda Nicolas Gavalda (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: