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

Unoconv test routine STILL does not reset the test files before conversion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Administration, Files API
    • Labels:
      None
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      As far as I can see.... if an incorrect unoconv setup (e.g. incorrect permissions) causes a failure of the test asking to download the test PDF results in a 'must be fixed by programmer' error. However, there's no way to 'reset' this. You will now get this error even if you fix the original problem.

      Resetting everything with...

       
      <?php require('config.php');
       $fs = get_file_storage(); 
       $fs->delete_area_files(context_system::instance()->id, 'core', 'documentconversion');
      
      

      ...allows it to work.  This makes it very difficult to set up unoconv unless you are lucky and get it all right first go. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                howardsmiller Howard Miller
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: