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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 3.3
    • Administration, Files API
    • None
    • MOODLE_33_STABLE

      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. 

            Unassigned Unassigned
            howardsmiller Howard Miller
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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