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

Assignments RedirectingAssignmentEntityServlet.MySecurityAdvisor equals can lead to ClassCastException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.5 [Tentative], 12.0, 19.0 [Tentative]
    • Fix Version/s: 12.0, 19.0 [Tentative]
    • Component/s: Assignments
    • Labels:
      None
    • 12 status:
      Resolved
    • 11 status:
      Please Merge
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      org.sakaiproject.assignment.tool.RedirectingAssignmentEntityServlet.MySecurityAdvisor.equals can lead to a ClassCast exception.

      caused by: java.lang.ClassCastException: org.sakaiproject.basiclti.util.SakaiBLTIUtil$1 cannot be cast to org.sakaiproject.assignment.tool.RedirectingAssignmentEntityServlet$MySecurityAdvisor
       at org.sakaiproject.assignment.tool.RedirectingAssignmentEntityServlet$MySecurityAdvisor.equals(RedirectingAssignmentEntityServlet.java:213)
       at org.sakaiproject.authz.impl.SakaiSecurity.popAdvisor(SakaiSecurity.java:915)
       at org.sakaiproject.assignment.tool.AssignmentAction.getAssignment(AssignmentAction.java:1247)
       at org.sakaiproject.assignment.tool.AssignmentAction.build_student_view_submission_context(AssignmentAction.java:1460)
       at org.sakaiproject.assignment.tool.AssignmentAction.buildMainPanelContext(AssignmentAction.java:1064)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  ern Earle R Nietzel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code