• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.1.9, 4.2.0
    • 4.1.4
    • None
    • None
    • Chrome

      The ribbon desapears when I handle tables
      How to reproduce it :

      • Open a content (I opened a program)
      • In a rich text field, insert a table
      • Enter some content inside the cells of the table
      • select all cells and click on the button "Top left corner" of the table tab, in the align group
      • Then I go to the edit tab.
      • > an error occurs and the ribbon has disappears. I can get the ribbon again but it is displayed above the workspace
        TypeError: Cannot read property 'contextualTab' of undefined
        TypeError: Cannot read property 'contextualTab' of undefined
        at constructor.showContextualTab (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ui/fluent/ribbon/TabPanel.js:479:211)
        at constructor.panel.showContextualTab (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ui/fluent/ribbon/TabPanel.js:284:34)
        at http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/RibbonTabController.js:66:20
        at Array.forEach (<anonymous>)
        at Object.Ext.Array.ExtArray.forEach (http://berlioz.anyware.corp:8093/cms/plugins/extjs6/resources/ext-all-debug.js:3302:23)
        at constructor.show (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/RibbonTabController.js:65:17)
        at constructor._onSelectionChanged (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/tab/TabController.js:248:11)
        at constructor.fire (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/message/MessageBus.js:169:36)
        at constructor.cb (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/message/MessageMethods.js:152:31)
        at http://berlioz.anyware.corp:8093/cms/plugins/extjs6/resources/ext-all-debug.js:7101:35

          [CMS-9246] JS error on the ribbon

          Laure Lopez made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaël Franchet made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Raphaël Franchet made changes -
          Description Original: How to reproduce it :
           * Open a content (I opened a program)
           * In a rich text field, insert a table
           * Enter some content inside the cells of the table
           * select all cells and click on the button "Top left corner" of the table tab, in the align group
           * Then I go to the edit tab.
           * > an error occurs and the ribbon has disappears. I can get the ribbon again but it is displayed above the workspace
          {code:java}
          TypeError: Cannot read property 'contextualTab' of undefined
          TypeError: Cannot read property 'contextualTab' of undefined
          at constructor.showContextualTab (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ui/fluent/ribbon/TabPanel.js:479:211)
          at constructor.panel.showContextualTab (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ui/fluent/ribbon/TabPanel.js:284:34)
          at http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/RibbonTabController.js:66:20
          at Array.forEach (<anonymous>)
          at Object.Ext.Array.ExtArray.forEach (http://berlioz.anyware.corp:8093/cms/plugins/extjs6/resources/ext-all-debug.js:3302:23)
          at constructor.show (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/RibbonTabController.js:65:17)
          at constructor._onSelectionChanged (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/tab/TabController.js:248:11)
          at constructor.fire (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/message/MessageBus.js:169:36)
          at constructor.cb (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/message/MessageMethods.js:152:31)
          at http://berlioz.anyware.corp:8093/cms/plugins/extjs6/resources/ext-all-debug.js:7101:35{code}
          New: The ribbon desapears when I handle tables
          How to reproduce it :
           * Open a content (I opened a program)
           * In a rich text field, insert a table
           * Enter some content inside the cells of the table
           * select all cells and click on the button "Top left corner" of the table tab, in the align group
           * Then I go to the edit tab.
           * > an error occurs and the ribbon has disappears. I can get the ribbon again but it is displayed above the workspace
          {code:java}
          TypeError: Cannot read property 'contextualTab' of undefined
          TypeError: Cannot read property 'contextualTab' of undefined
          at constructor.showContextualTab (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ui/fluent/ribbon/TabPanel.js:479:211)
          at constructor.panel.showContextualTab (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ui/fluent/ribbon/TabPanel.js:284:34)
          at http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/RibbonTabController.js:66:20
          at Array.forEach (<anonymous>)
          at Object.Ext.Array.ExtArray.forEach (http://berlioz.anyware.corp:8093/cms/plugins/extjs6/resources/ext-all-debug.js:3302:23)
          at constructor.show (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/RibbonTabController.js:65:17)
          at constructor._onSelectionChanged (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/ribbon/element/tab/TabController.js:248:11)
          at constructor.fire (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/message/MessageBus.js:169:36)
          at constructor.cb (http://berlioz.anyware.corp:8093/cms/plugins/core-ui/resources/js/Ametys/message/MessageMethods.js:152:31)
          at http://berlioz.anyware.corp:8093/cms/plugins/extjs6/resources/ext-all-debug.js:7101:35{code}
          Raphaël Franchet made changes -
          Summary Original: The ribbon desapears when I handle tables New: JS error on the ribbon

          This ticket is about the js error.
          Because the thing about the ribbon above the workspace is a feature if you double click on the tab label.

          Raphaël Franchet added a comment - This ticket is about the js error. Because the thing about the ribbon above the workspace is a feature if you double click on the tab label.
          Cédric Damioli made changes -
          Fix Version/s New: 4.1.9 [ 14672 ]
          Fix Version/s Original: 4.1.8 [ 14654 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.1.8 [ 14654 ]
          Fix Version/s Original: 4.1.7 [ 14647 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.1.7 [ 14647 ]
          Fix Version/s Original: 4.1.6 [ 14629 ]
          Raphaël Franchet made changes -
          Fix Version/s New: 4.1.6 [ 14629 ]
          Fix Version/s Original: 4.1.5 [ 14601 ]
          Cédric Damioli made changes -
          Fix Version/s New: 4.1.5 [ 14601 ]
          Fix Version/s Original: 4.1.4 [ 14581 ]

            Unassigned Unassigned
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: