Taking an assessment as TA when in student view can lead to misleading statistics

Description

See more details in SAM-744 reported by Stephen Marquard

This seems to have caused a regression in one unusual case where we have, where the realm permissions were changed to allow the Tutor role (equiv. to TA) to take and submit assessments. Only TAs took the assessment.

Attempting to export the results causes an error (local ref is VULA-741):

caused by: java.lang.RuntimeException: failed to call histogramScores.
at org.sakaiproject.tool.assessment.ui.listener.evaluation.HistogramListener.getDetailedStatisticsSpreadsheetData(HistogramListener.java:1934)
at org.sakaiproject.tool.assessment.ui.bean.evaluation.ExportResponsesBean.getSpreadsheetData(ExportResponsesBean.java:181)
at org.sakaiproject.tool.assessment.ui.bean.evaluation.ExportResponsesBean.exportExcel(ExportResponsesBean.java:174)

The problem appears to be in HistogramListener.java

Activity

Lydia Li March 26, 2010 at 11:15 AM

This is somewhat an unusual case. I'm lowering it to major.

Details

Priority

Affects versions

Assignee

Reporter

Created March 16, 2010 at 2:58 PM
Updated April 17, 2018 at 8:02 AM