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

Samigo import fails if attachment is not available

    Details

    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Replicating requires the ability to delete a file from the file system:

      1) Create a Samigo assessment with an attachment
      2) Remove the attachment from the file system
      3) Go to new site -> Site Info -> Import from Site
      4) Import including Resources and Tests & Quizzes

      java.io.IOException: No object found for /attachment/FA18-ACCT-70601-SS-N4/Tests _ Quizzes/07ded224-0d18-4741-afd0-69dbc06c8329/Seagrams-DuPont-Case-2018.pdf
              at coza.opencollab.sakai.cloudcontent.BlobStoreFileSystemHandler.getInputStream(BlobStoreFileSystemHandler.java:255)
              at org.sakaiproject.content.impl.DbContentService$DbStorage.streamResourceBodyFilesystem(DbContentService.java:2358)
              at org.sakaiproject.content.impl.DbContentService$DbStorage.streamResourceBody(DbContentService.java:2295)
              at org.sakaiproject.content.impl.BaseContentService$BaseResourceEdit.streamContent(BaseContentService.java:13018)
              at org.sakaiproject.tool.assessment.services.assessment.AssessmentService.createCopyOfContentResource(AssessmentService.java:857)
              at org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries.prepareAssessmentAttachmentSet(AssessmentFacadeQueries.java:2155)
              at org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries.prepareAssessment(AssessmentFacadeQueries.java:1793)
              at org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries.copyAllAssessments(AssessmentFacadeQueries.java:1571)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ottenhoff Sam Ottenhoff
                Reporter:
                ottenhoff Sam Ottenhoff
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code