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

File widgets aren't working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.9
    • 3.9
    • Général
    • chromium, firefox

      The external-or-resource-file widget and the other file widget are not working. I've tried with several widget of file and binary type but no one is working. It's working with the default wigdet though (I mean without the <widget> tags).

      TypeError: Array.prototype.indexOf called on null or undefined
      TypeError: Array.prototype.indexOf called on null or undefined
      at indexOf (native)
      at Object.Ext.Array.contains.i [as contains] (http://localhost:8080/modules-ametys-onisep/plugins/extjs4/resources/js/ext-all-debug.js:1441:43)
      at Ext.define.getWidgetXType (http://localhost:8080/modules-ametys-onisep/resources/js/Ametys/cms/form/WidgetManager.js:232:38)
      at Ext.define.getWidget (http://localhost:8080/modules-ametys-onisep/resources/js/Ametys/cms/form/WidgetManager.js:166:20)
      at Ext.define.createInputField (http://localhost:8080/modules-ametys-onisep/resources/js/Ametys/cms/form/FormEditionPanel.i18n.js:452:40)
      at Ext.define.addInputField (http://localhost:8080/modules-ametys-onisep/resources/js/Ametys/cms/form/FormEditionPanel.i18n.js:387:20)
      at Ext.define.drawEditionFormPartForXML (http://localhost:8080/modules-ametys-onisep/resources/js/Ametys/cms/form/FormEditionPanel.i18n.js:626:10)
      at Ext.define._drawEditionForm (http://localhost:8080/modules-ametys-onisep/plugins/cms/resources/js/Ametys/plugins/cms/content/tool/ContentTool.i18n.js:390:13)
      at Ext.define._dispatch (http://localhost:8080/modules-ametys-onisep/kernel/resources/js/Ametys/data/ServerComm.i18n.js:620:33)
      at Ext.define._onRequestComplete (http://localhost:8080/modules-ametys-onisep/kernel/resources/js/Ametys/data/ServerComm.i18n.js:589:10)

            Unassigned Unassigned
            jorog Johan Rogel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: