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

Bug tree.getStore is not a function when I create a new page while creating a redirection to a new page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.0
    • 4.1.0
    • None
    • None
    • IE, Chrome
    • 4.1 RC1

      How to reproduce it :

      • create a new page
      • select this page in the sitemap and clic on "Forwarding to a page of the site" button
      • It ask "Do you really want to change page to forwarding page ?", answer yes
      • A panel with the sitemap is opened, click on the link at the bottom : "Click here to insert a page".
      • An assistant of creation of a page is opened, click on "finish" button
        > an error ocurs
      TypeError: tree.getStore is not a function
      TypeError: tree.getStore is not a function
      at constructor._createPageCb (http://localhost:8080/cms/plugins/web/resources/js/Ametys/web/helper/ChoosePage.js:459:22)
      at constructor._callback (http://localhost:8080/cms/plugins/extjs6/resources/ext-all-debug.js:7101:35)
      at constructor.callback (http://localhost:8080/cms/plugins/web/resources/js/Ametys/plugins/web/page/AddPageWizard.js:657:44)
      at constructor._applyTemplateCb (http://localhost:8080/cms/plugins/web/resources/js/Ametys/plugins/web/page/AddPageWizard/PageTypeCard.js:127:10)
      at constructor.<anonymous> (http://localhost:8080/cms/plugins/extjs6/resources/ext-all-debug.js:7101:35)
      at constructor.<anonymous> (http://localhost:8080/cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:442:33)
      at Array.forEach (<anonymous>)
      at Object.Ext.Array.ExtArray.forEach (http://localhost:8080/cms/plugins/extjs6/resources/ext-all-debug.js:3302:23)
      at constructor._callProcessed (http://localhost:8080/cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:439:23)
      at constructor.<anonymous> (http://localhost:8080/cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:856:50)

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

              Created:
              Updated:
              Resolved: