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

DND onto image throw js error when uploading image in draggable item

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 3.0, 3.1
    • None
    • Filepicker, Questions
    • MOODLE_30_STABLE, MOODLE_31_STABLE

    Description

      Steps to reproduce:

      1. Create a new 'drag and drop onto image' question.
      2. Add a Question name/text and upload a background image.
      3. In draggable item 1, choose an image file and check JS console, you will see "Uncaught TypeError: Cannot read property 'simulate' of null"
      4. Add text for draggable item 1
      5. Check drop zones and "Draggable item" will be empty.

      Workaround is to save page and edit question again. This time the "Draggable item" will show text for image.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rajeshtaneja Rajesh Taneja
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: