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

Missing files section in Manage files popup shows HTML codes

    XMLWordPrintable

Details

    • Bug
    • Status: Tested
    • Minor
    • Resolution: Unresolved
    • 3.10.8, 3.11.4
    • 3.11.8, 4.0.2
    • Filepicker
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-73121-311
    • MDL-73121-400
    • Hide
      1. Log in as admin
      2. Create a new course
      3. Turn edit mode on
      4. Add a label
      5. Press Insert or edit image button in editor toolbar
      6. Upload a picture of your favourite frog
      7. Switch to HTML mode
      8. Copy the <img src="..."> attribute
      9. Add the following content:

        <p><IMAGEURL></p><p class="frog">Ribbit!</p>
        

      10. It should look something like this:
      11. Switch back to normal mode (non-HTML)
      12. Press Manage files button in editor toolbar
      13. Confirm you do not see the following Missing files warning:

        Warning! The following files that are referenced in the text area appear to be missing:
         
            FROG.jpg</p><p class=
        

      Show
      Log in as admin Create a new course Turn edit mode on Add a label Press Insert or edit image button in editor toolbar Upload a picture of your favourite frog Switch to HTML mode Copy the <img src="..."> attribute Add the following content: <p><IMAGEURL></p><p class="frog">Ribbit!</p> It should look something like this: Switch back to normal mode (non-HTML) Press Manage files button in editor toolbar Confirm you do not see the following Missing files warning: Warning! The following files that are referenced in the text area appear to be missing:   FROG.jpg</p><p class=

    Description

      1. Create a course.
      2. Turn editing on.
      3. Add an assignment activity.
      4. In the Description, atto_editor, click on Insert or edit an audio/video file button.
      5. Click the video tab and click the Browse repositories. Select a video file from your computer and click the "Insert media".
      6. Back in the editor, press enter to add a new line.
      7. Repeat step 5 to add two (2) more videos.
      8. You should now have three (3) embedded videos in the editor.
      9. Click Manage files button.
      10. You should see the following:
      Missing files
      Warning! The following files that are referenced in the text area appear to be missing:

      sample123.wmv</video> <br></p><p dir=
      sample.mp4</video>  <video controls=
      sample.avi</video> <br></p><p dir=

      RESULT: The missing files section contains HTML codes.

      Attachments

        1. MDL-73121_master.png
          MDL-73121_master.png
          77 kB
        2. MDL-73121_v311.png
          MDL-73121_v311.png
          94 kB
        3. MDL-73121_v400.png
          MDL-73121_v400.png
          74 kB
        4. Screenshot_20211119_105143.png
          Screenshot_20211119_105143.png
          121 kB
        5. Screenshot from 2021-11-19.png
          Screenshot from 2021-11-19.png
          40 kB

        Activity

          People

            pholden Paul Holden
            jebarvia Joshua Ebarvia
            Mihail Geshoski Mihail Geshoski
            Shamim Rezaie Shamim Rezaie
            Angelia Dela Cruz Angelia Dela Cruz
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              11/Jul/22

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m