Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44379

Grader: Document file preview for .doc, .ppt etc, broken in master.

    XMLWordPrintable

    Details

    • 21 Status:
      Resolved
    • Test Plan:
      Hide
      1. Install the docker engine on your development machine.
      2. Pull the libreoffice online image:
        • docker pull libreoffice/online:master
      3. Run libreoffice:
        • docker run it -p 9980:9980 -e "extra_params=-o:ssl.enable=false" libreoffice/online:master
      4. Now enable file conversions in your sakai properties:
        • fileconversion.enabled=true
      5. Turn on logging for the file conversion service:
        • log.config.count=1
        • log.config.1 = DEBUG.org.sakaiproject.content.impl.FileConversionServiceImpl
      6. Restart tomcat
      7. Create an assignment, gradable with some points.
      8. Submit to the assignment, attaching a word document (a .doc file, not .docx) and a powerpoint document.
      9. Tail your tomcat logs. You should see updates from the file conversion service as it converts those two files.
      10. Grade the assignment.
      11. Ensure you are able to click on those two documents and get PDF versions of them in the preview area.
      Show
      Install the docker engine on your development machine. Pull the libreoffice online image: docker pull libreoffice/online:master Run libreoffice: docker run it -p 9980:9980 -e "extra_params= -o:ssl.enable=false" libreoffice/online:master Now enable file conversions in your sakai properties: fileconversion.enabled=true Turn on logging for the file conversion service: log.config.count=1 log.config.1 = DEBUG.org.sakaiproject.content.impl.FileConversionServiceImpl Restart tomcat Create an assignment, gradable with some points. Submit to the assignment, attaching a word document (a .doc file, not .docx) and a powerpoint document. Tail your tomcat logs. You should see updates from the file conversion service as it converts those two files. Grade the assignment. Ensure you are able to click on those two documents and get PDF versions of them in the preview area.

      Description

      Document file preview for .doc, .ppt etc, broken in master. The Spring 5/Hibernate 5 update probably caused this. It needed a refectory anyway, to remove the use of the JPA transaction manager.

        Gliffy Diagrams

          Zeplin

            Attachments

            1. assignment_pdf_docx.gif
              assignment_pdf_docx.gif
              18 kB
            2. assignment_ppt.gif
              assignment_ppt.gif
              14 kB
            3. assignment_pptx_doc.gif
              assignment_pptx_doc.gif
              19 kB
            4. PowerPoint test.pptx
              803 kB
            5. PowerPoint test 97-2003 version.ppt
              970 kB
            6. Word-97-2003-version.doc
              32 kB

              Activity

                People

                Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                a.fish@lancaster.ac.uk Adrian Fish
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration