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

Unable to upload image for Hot Spot quizzes and tests questions

    XMLWordPrintable

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2745
    • Test Plan:
      Hide
      • Create an assessment
      • Add hotspot datatype
      • Under select hot spot image select choose file
      • Click Üpload
      • Expected : File is uploaded
      • Actual : Nothing happens
      Show
      Create an assessment Add hotspot datatype Under select hot spot image select choose file Click Üpload Expected : File is uploaded Actual : Nothing happens

      Description

      When creating a Hot Spot question I was allowed to choose an image, but when I clicked "upload" no image was uploaded and my image selection is not uploaded.

      1) http://snag.gy/nePfe.jpg
      2) http://snag.gy/0hR1T.jpg
      3) http://snag.gy/LYccO.jpg

      See test plan

      This exception is thrown

      2016-03-22 20:27:21,846 ERROR http-apr-18888-exec-33 org.sakaiproject.content.impl.BaseContentService - commitCollection(): closed ContentCollectionEdit
      java.lang.Exception
      	at org.sakaiproject.content.impl.BaseContentService.commitCollection(BaseContentService.java:2824)
      	at org.sakaiproject.tool.assessment.ui.bean.author.ItemAuthorBean.getPrivateCollection(ItemAuthorBean.java:1353)
      	at org.sakaiproject.tool.assessment.ui.bean.author.ItemAuthorBean.saveMedia(ItemAuthorBean.java:1436)
      

      I'll think we'll need to review this code that's storing these images.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  heather.valli@duke.edu Heather Valli
                  Reporter:
                  aremer@nd.edu Amy Remer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code