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

No preview when editing drag-drop markers or drag-drop onto image questions

    XMLWordPrintable

Details

    • MOODLE_310_STABLE
    • MOODLE_310_STABLE
    • Hide

      Before you start testing this, ensure that Admin -> Advanced features -> Global search is enabled.

      Drag-drop markers

      1. In your question bank, find, create, or import a Drag-drop markers question. (If you are testing on qa.moodledemo.net, you can just use https://qa.moodledemo.net/question/edit.php?courseid=2&cat=12%2C25&qpage=0&category=12%2C25&lastchanged=51.)
      2. Choose Edit -> Edit question.
      3. Verify that when the form has loaded, the Preview in the form is present.

      Drag-drop onto image

      1. In your question bank, find, create, or import a Drag-drop onto image question. (If you are testing on qa.moodledemo.net, you can just use https://qa.moodledemo.net/question/edit.php?courseid=2&cat=12%2C25&qpage=0&category=12%2C25&lastchanged=50.)
      2. Choose Edit -> Edit question.
      3. Verify that when the form has loaded, the Preview in the form is present.
      Show
      Before you start testing this, ensure that Admin -> Advanced features -> Global search is enabled. Drag-drop markers In your question bank, find, create, or import a Drag-drop markers question. (If you are testing on qa.moodledemo.net, you can just use https://qa.moodledemo.net/question/edit.php?courseid=2&cat=12%2C25&qpage=0&category=12%2C25&lastchanged=51 .) Choose Edit -> Edit question. Verify that when the form has loaded, the Preview in the form is present. Drag-drop onto image In your question bank, find, create, or import a Drag-drop onto image question. (If you are testing on qa.moodledemo.net, you can just use https://qa.moodledemo.net/question/edit.php?courseid=2&cat=12%2C25&qpage=0&category=12%2C25&lastchanged=50 .) Choose Edit -> Edit question. Verify that when the form has loaded, the Preview in the form is present.

    Description

      When uploading an image to use as the background image for a drag and drop markers question type the image preview is not shown and a JavaScript error is shown in the browser console

      Attachments

        1. No preview.png
          No preview.png
          758 kB
        2. Screenshot_1.jpg
          Screenshot_1.jpg
          55 kB
        3. Screenshot_2.jpg
          Screenshot_2.jpg
          46 kB

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              basbrands Bas Brands
              David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
              Víctor Déniz Falcón Víctor Déniz Falcón
              Janelle Barcega Janelle Barcega
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Nov/20

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 25 minutes
                  2h 25m