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

Error when linking an assignment with GradebookNG

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0, 20.0
    • Fix Version/s: 12.6, 19.0, 20.0
    • Component/s: Assignments, Gradebook
    • Labels:
      None
    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Add Gradebook item
      Fill Title, Point value
      Mark Release item to student
      Mark Include item in course grade calculations?
      Go to Assignment tool
      Create an assignment
      Associate with existing Gradebook item
      Click Grade
      Enter as a student
      Try to submit the assignment

      Show
      Add Gradebook item Fill Title, Point value Mark Release item to student Mark Include item in course grade calculations? Go to Assignment tool Create an assignment Associate with existing Gradebook item Click Grade Enter as a student Try to submit the assignment

      Description

      See video and testing plan

      org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: java.lang.reflect.InvocationTargetException
          at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:856)
      caused by: org.sakaiproject.tool.api.ToolException: java.lang.reflect.InvocationTargetException
          at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:234)
      caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      caused by: org.sakaiproject.service.gradebook.shared.GradebookSecurityException: You do not have permission to perform this operation
          at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.isAssignmentDefined(GradebookServiceHibernateImpl.java:120)
          at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getAssignmentScoreStringByNameOrId(GradebookServiceHibernateImpl.java:2341)
          at sun.reflect.GeneratedMethodAccessor1324.invoke(null:-1)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
          at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
          at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
          at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
          at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
          at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
          at com.sun.proxy.$Proxy110.getAssignmentScoreStringByNameOrId(null:-1)
          at org.sakaiproject.assignment.impl.AssignmentServiceImpl.getGradeForSubmitter(AssignmentServiceImpl.java:231

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  jesusmmp Jesus Maria Mendez
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration