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

Some images are missing from PDF grading view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.4
    • Fix Version/s: None
    • Component/s: Assignment
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      Short description:

      Images contained in two PDFs generated by the same user are missing in Moodle's PDF annotation.

      Testing:

      1. The student uploads his documents in a repository with a "PDF Annotation" feedback type.
      2. The teacher accesses the online PDF annotation: the images are missing from the preview. When he download the PDF file the images appear properly in his PDF file viewer.

      Further information :

      1. No other PDF has the same problem in the same repository.
      2. The problem can be reproduced on our test server (using the two original files).
      3. Both PDFs were generated from a Mac and the photos are .jpg taken with an iPhone.
      4. I can reproduce the problem with the student PDF files, but I cannot create a PDF file with the same type of problem by myself and I have no relevant information of how these images or PDF files are differents from others.
      5. If you save the PDF file via "Print as PDF" functionality and re-upload it, the problem no longer occurs
      6. I think Ghostscript is not involved because
        1. It is up to date
        2. I executed the GS conversion command line directly on the two PDF files from our server. The generated PNG files do contain the images.
      7. I was able to retrieve the "combined.pdf" file from the /temp/assignfeedback_editpdf/pageimages/ directory. It does not contain the images. I think the problem occurs before GS command line.

      Since I can't produce problematic PDF files by myself and the student's PDF files contains sensitive information, I cannot upload it here. I am here to help or to test code if you give me specific instructions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              n.mouillet@helmo.be Nicolas Mouillet
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: