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

Inserting media in assignment via "online text" causes page to cease loading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.8, 2.9, 3.0, 3.1
    • Fix Version/s: 2.9.4, 3.0.1
    • Component/s: Filters
    • Labels:
    • Testing Instructions:
      Hide
      1. Create an assignment with "Online text" enabled
      2. As a student, in the submission Atto area, click the "Media" button
      3. Upload a video
      4. Submit
      5. As the instructor, navigate to the assignment
      6. Click "View/grade all submissions"
      7. Without the patch: Error The page will load the gradingtable up to where the video is but nothing more and no blocks will be loaded.
      8. With the patch: The page will load completely.
      9. Verify that webservice/amf/testclient/index.php loads ok from a number of browsers, specifically IE10 and IE9. Note it's out from the scope of this issue to test the amf functionality, it's enough if the flash client does load ok under all browsers (may require you to upgrade the flayer player plugin under some browsers because of well known flash security problems, be warned).
      Show
      Create an assignment with "Online text" enabled As a student, in the submission Atto area, click the "Media" button Upload a video Submit As the instructor, navigate to the assignment Click "View/grade all submissions" Without the patch: Error The page will load the gradingtable up to where the video is but nothing more and no blocks will be loaded. With the patch: The page will load completely. Verify that webservice/amf/testclient/index.php loads ok from a number of browsers, specifically IE10 and IE9. Note it's out from the scope of this issue to test the amf functionality, it's enough if the flash client does load ok under all browsers (may require you to upgrade the flayer player plugin under some browsers because of well known flash security problems, be warned).
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-51483_master

      Description

      When an assignment is created with online text submission allowed and a student will add a media file through Atto instead of through "file submission", the page (mod/assign/view.php?id={x}&action=grading) will fail to render the media file and will cease loading the rest of the page, resulting in a partially-loaded page without any errors being displayed anywhere.

      See screenshot.

        Attachments

        1. MDL-51483.PNG
          72 kB
          Joseph Inhofer

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  21/Dec/15