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

Assignfeedback_editpdf breaks if the combined.pdf doesn't exist in filestore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.4.4
    • Assignment
    • MOODLE_34_STABLE

    Description

      (I'm not even sure how it got in to this state...but anyway)

      If the combined.pdf file used for the annotated PDF does not exist on the disk, but it does have a database record, then it appears that there is no checking of the existence of the content on disk.

      The editpdf ajax.php file is attempting to get the number of pages in the combined.pdf, which makes a copy of the combined.pdf file.

      It then loads the file copied file to count the number of pages.

      At no point does it appear to check that the file can be or has been successfully copied.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mhughes2k Michael Hughes
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: