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

Error saving question with attachments inside

    XMLWordPrintable

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2697

      Description

      After adding an attachment to a question, if i save that question i got a ClassCastException

      Sometimes the error is just displayed in the logs, but then the display is corrupted with the header incorrect.

      WARNING: org.sakaiproject.tool.assessment.data.dao.assessment.ItemAttachment cannot be cast to org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentAttachmentIfc 
      java.lang.ClassCastException: org.sakaiproject.tool.assessment.data.dao.assessment.ItemAttachment cannot be cast to 
      org.sakaiproject.tool.assessment.data.ifc.assessment.AssessmentAttachmentIfc
      	at org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries.saveOrUpdateAttachments(AssessmentFacadeQueries.java:1816)
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  alexgj Alejandro González Jiménez
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration