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

Ensure that file conversion jobs are not queued multiple times

    XMLWordPrintable

Details

    • Merged
    • Hide

      Enable the file conversion service and start up libre office in a docker container:
      https://github.com/sakaiproject/sakai/tree/master/kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl

      Create an assignment in the assignments tool.
      As one user, submit to the assignment, adding an attachment.
      As another user, submit to the assignment, adding the same attachment.
      You should only have one record in the CONTENT_RESOURCE table with the same file name that you submitted, but with the pdf suffix.

      Show
      Enable the file conversion service and start up libre office in a docker container: https://github.com/sakaiproject/sakai/tree/master/kernel/kernel-impl/src/main/java/org/sakaiproject/content/impl Create an assignment in the assignments tool. As one user, submit to the assignment, adding an attachment. As another user, submit to the assignment, adding the same attachment. You should only have one record in the CONTENT_RESOURCE table with the same file name that you submitted, but with the pdf suffix.

    Description

      File conversion service jobs can be queued multiple times, potentially. This shouldn't happen so the queue table should be checked for an existing item.

      Gliffy Diagrams

        Zeplin

          Attachments

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Git Integration