Details
-
Type:
Bug
-
Status: CLOSED
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.0
-
Fix Version/s: 10.0
-
Component/s: Messages Tool
-
Labels:None
Description
In SAK-24859, the forums grading was reworked to so that grading respects the grade entry type of the gradebook. However, the integration with the LRS API (KNL-1045) is now causing a stack trace when grading by percentage.
Set up a percentage gradebook with at least one gradebook item.
In Forums, create a topic and link it to your gradebook item.
Attempt to grade a forum posting.
Snippet from stack trace:
caused by: javax.faces.el.EvaluationException: java.lang.IllegalArgumentException: score raw (85.0) must not be greater than max (0.0) inclusive
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
caused by: java.lang.IllegalArgumentException: score raw (85.0) must not be greater than max (0.0) inclusive
at org.sakaiproject.event.api.LearningResourceStoreService$LRS_Result.setRawScore(LearningResourceStoreService.java:852)
at org.sakaiproject.event.api.LearningResourceStoreService$LRS_Result.setScore(LearningResourceStoreService.java:880)
at org.sakaiproject.event.api.LearningResourceStoreService$LRS_Result.<init>(LearningResourceStoreService.java:809)
at org.sakaiproject.tool.messageforums.DiscussionForumTool.getLRS_Result(DiscussionForumTool.java:9823)
at org.sakaiproject.tool.messageforums.DiscussionForumTool.getStatementForGrade(DiscussionForumTool.java:9818)
at org.sakaiproject.tool.messageforums.DiscussionForumTool.processDfGradeSubmit(DiscussionForumTool.java:6371)
at org.sakaiproject.tool.messageforums.DiscussionForumTool.processDfGradeSubmitFromDialog(DiscussionForumTool.java:6258)
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- is related to
-
SAK-24859 Grading from Forums should respect the grade entry type setting in the Gradebook
-
- CLOSED
-