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

Screenshot disappeared in Online text submission

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.18, 3.5.6
    • Fix Version/s: None
    • Component/s: Assignment
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_35_STABLE

      Description

      When students Paste a screenshot into Online text assignment, they can see the image in the Editing field.

       

      But, after submission, the screenshot picture is NOT saved. When checking the <code>, all Base64 code disappeared.

       

      Then, I checked the permission to Enable trust content in site:

       

       

      And enable to Student role.

       

       

      A student role can Paste a screenshot (the same Base64 code image) to forum successfully.

      My Question is: Why the student role can paste Screenshot (Base64 code) in Forum, but not in Assignment? If it is a security reason, I think the forum and assignment should be treated as same.

      BTW:  Teacher and higher role can paste a screenshot and save the page without any problem.  

       

      If 

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wenxin Wenxin Lu
              Participants:
              Component watchers:
              Damyon Wiese, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: