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

T&Qs: users can't access submissions with Attachments

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • 19 status:
      Verified
    • Test Plan:
      Hide

      1. Create an assessment with at least one question which has an attachment.
      2. Try to access it as a student.

      Show
      1. Create an assessment with at least one question which has an attachment. 2. Try to access it as a student.

      Description

      After some refactor work I made on DeliveryBean, it seems some jsp properties are not being linked properly. This is the stacktrace:

      javax.servlet.ServletException: /jsf/delivery/item/attachment.jsp(24,2) '#{not empty question.itemData.itemAttachmentList && delivery.isFromPrint}' Property [isFromPrint] not found on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
          at org.sakaiproject.portal.charon.handlers.ToolHandler.doPost(ToolHandler.java:73)
      caused by: org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: /jsf/delivery/item/attachment.jsp(24,2) '#{not empty question.itemData.itemAttachmentList && delivery.isFromPrint}' Property [isFromPrint] not found on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1490)
      caused by: javax.servlet.ServletException: /jsf/delivery/item/attachment.jsp(24,2) '#{not empty question.itemData.itemAttachmentList && delivery.isFromPrint}' Property [isFromPrint] not found on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      caused by: org.apache.jasper.el.JspPropertyNotFoundException: /jsf/delivery/item/attachment.jsp(24,2) '#{not empty question.itemData.itemAttachmentList && delivery.isFromPrint}' Property [isFromPrint] not found on type [org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean]
          at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:120)
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bergarvi Bernardo Garcia Vila
                  Reporter:
                  bergarvi Bernardo Garcia Vila
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration