Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64174

Media files can't be edited in Atto

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.6, 3.5.3
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto), Media
    • Labels:
      None
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE

      Description

      During MDLQA-12669 testing I've realised it's not possible to select the media files added to the editor. When trying to select one of them (audio or video file), the following error is displayed:

      • In Chrome 70 (and Ubuntu 18.04):

      Uncaught TypeError: Cannot read property 'setAttribute' of null
      at BuiltClass._applyMediumProperties (yui_combo.php?m/1542879830/editor_atto/rangy/rangy-debug.js&3.17.2/handlebars-base/handlebars-base.js&3.17.2/handlebars-compiler/handlebars-compiler.js&m/1542879830/core/handlebars/handlebars-debug.js&3.17.2/timers/timers.js&3.17.2/querystring-stringify/querystring-stringify.js&m/1542879830/editor_atto/editor/editor-debug.js&m/1542879830/editor_atto/menu/menu-debug.js&m/1542879830/editor_atto/plugin/plugin-debug.js&m/1542879830/atto_collapse/button/button-debug.js&m/1542879830/atto_title/button/button-debug.js&m/1542879830/atto_bold/button/button-debug.js&m/1542879830/atto_italic/button/button-debug.js&m/1542879830/atto_unorderedlist/button/button-debug.js&m/1542879830/atto_orderedlist/button/button-debug.js&m/1542879830/atto_link/button/button-debug.js&m/1542879830/atto_image/button/button-debug.js&m/1542879830/atto_media/button/button-debug.js&m/1542879830/atto_recordrtc/button/button-debug.js&m/1542879830/atto_recordrtc/recording/recording-debug.js:17809)

       

      • In Firefox 63 (and Ubuntu 18.04)

      TypeError: tabPane.one(...) is null[Learn More] yui_combo.php:17809:9
      _applyMediumProperties
      http://localhost/m/stable_35/theme/yui_combo.php:17809:9
      _getDialogueContent
      http://localhost/m/stable_35/theme/yui_combo.php:17679:35
      _displayDialogue
      http://localhost/m/stable_35/theme/yui_combo.php:17660:37
      _callbackWrapper
      http://localhost/m/stable_35/theme/yui_combo.php:14986:16
      Y.rbind/<
      http://localhost/m/stable_35/theme/yui_combo.php:12362:16
      delegate.notifySub
      http://localhost/m/stable_35/theme/yui_combo.php:21930:19
      notify
      http://localhost/m/stable_35/theme/yui_combo.php:13709:19
      _notify
      http://localhost/m/stable_35/theme/yui_combo.php:13372:15
      _procSubs
      http://localhost/m/stable_35/theme/yui_combo.php:13498:31
      fireSimple
      http://localhost/m/stable_35/theme/yui_combo.php:13465:13
      _fire
      http://localhost/m/stable_35/theme/yui_combo.php:13447:24
      fire
      http://localhost/m/stable_35/theme/yui_combo.php:13416:16
      _createWrapper/cewrapper.fn
      http://localhost/m/stable_35/theme/yui_combo.php:20467:21

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sarjona Sara Arjona (@sarjona)
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: