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

Handle import/exporting of gradebook when files are present

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.6
    • Gradebook
    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-63488-master
    • Hide

      PHPUnit tests provided.

      Assuming the following:

      1. You have a course that has an assignment
      2. The assignment should have the Feedback comments setting enabled.
      3. You have a student that has submitted the assignment

      Testing instructions - for export functionality(w/ openDoc, plain text, xls and xml)

      1. Login into as the teacher/admin
      2. Go to the course and click on the assignment 
      3. Grade the assignment from the student providing a combo of text and image/audio/video link with files stored on the server and not imported into the server and save
      4. Go back to the assignment and export the gradebook with feedback
      5. You should get a file with the img/audio/video links stripped and should only contain the text components from 3
      6. Confirm that there's no markup (from the debugging message i.e. "Before calling format_text(), the content must be processed with file_rewrite_pluginfile_urls()" ) on the exported files
      7. Confirm that the URLs in the feedback comments point correctly to the files.
      Show
      PHPUnit tests provided. Assuming the following: You have a course that has an assignment The assignment should have the Feedback comments setting enabled. You have a student that has submitted the assignment Testing instructions - for export functionality(w/ openDoc, plain text, xls and xml) Login into as the teacher/admin Go to the course and click on the assignment  Grade the assignment from the student providing a combo of text and image/audio/video link with files stored on the server and not imported into the server and save Go back to the assignment and export the gradebook with feedback You should get a file with the img/audio/video links stripped and should only contain the text components from 3 Confirm that there's no markup (from the debugging message i.e. "Before calling format_text(), the content must be processed with file_rewrite_pluginfile_urls()"  ) on the exported files Confirm that the URLs in the feedback comments point correctly to the files.

      MDL-27520 added the ability to leave files as feedback in the gradebook. We need to decide what to do when we 'Import' or 'Export' these in the gradebook. Currently it breaks the process. One option would be to ignore any files and deal with them at a later stage. I think this is the most reasonable for us to make the 3.6 deadline.

      This issue was created before MDL-27520 was integrated, it is a follow-up.

            peterdias Peter Dias
            markn Mark Nelson
            Adrian Greeve Adrian Greeve
            David Monllaó David Monllaó
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.