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

Conversion of txt files not done

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.3.2, 3.4, 3.5
    • Fix Version/s: None
    • Component/s: Assignment, Files API
    • Labels:
    • Testing Instructions:
      Hide

      To reproduce:

      • As an admin, configure unoconv as a converter
      • As a teacher, create an assignment with file submission type enabled
      • As a student, submit a txt document
      • As an admin, launch the \assignfeedback_editpdf\task\convert_submissions task
      • AS a teacher, grade the submission

      You get as a preview, a blank page. You should get the content at the file as a preview.

      Show
      To reproduce: As an admin, configure unoconv as a converter As a teacher, create an assignment with file submission type enabled As a student, submit a txt document As an admin, launch the \assignfeedback_editpdf\task\convert_submissions task AS a teacher, grade the submission You get as a preview, a blank page. You should get the content at the file as a preview.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60743_master

      Description

      txt files (and maybe other types) are not converted. As a consquence:

      • txt assignment submission have no preview available (ie. a blank page)
      • No preview is generated for online submissions in assignments

      To reproduce:

      • As an admin, configure unoconv as a converter
      • As a teacher, create an assignment with file submission type enabled
      • As a student, submit a txt document
      • As an admin, launch the \assignfeedback_editpdf\task\convert_submissions task
      • AS a teacher, grade the submission

      You get as a preview, a blank page. You should get the content at the file as a preview.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jsegarra Juan Segarra Montesinos
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Matteo Scaramuccia, Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: