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

One Syncronization problem between Gradebook and Assignments when releasing grades

    Details

    • 12 status:
      Resolved
    • Test Plan:
      Hide
      1. Go to Gradebook tool
      2. Create a Gradebook item
      3. Title "GradebookItem", point value: 10, Release item to students? is NOT checked, click Create
      4. Go to Assignment tool
      5. Create an assignment
      6. Fill title, instructions, Open Date in the past, Grade Scale: Points, Points: 10, Associate
        with existing GradeBook item: Select "GradebookItem" and post.
      7. Enter as a student
      8. Click assignment
      9. Submit the assignment
      10. Click "Back to list"
      11. Click the assignment
      12. See next error

       

      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.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      caused by: org.sakaiproject.service.gradebook.shared.GradebookSecurityException: You do not have permission to perform this operation
      at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl$13.doInHibernate(GradebookServiceHibernateImpl.java:2290)
      at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:341)
      at org.springframework.orm.hibernate4.HibernateTemplate.execute(HibernateTemplate.java:296)
      at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getAssignmentScoreString(GradebookServiceHibernateImpl.java:2273)
      at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getAssignmentScoreString(GradebookServiceHibernateImpl.java:2341)
      at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getAssignmentScoreStringByNameOrId(GradebookServiceHibernateImpl.java:2349)
      at sun.reflect.GeneratedMethodAccessor1404.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)

       

       

       

      Show
      Go to Gradebook tool Create a Gradebook item Title "GradebookItem", point value: 10, Release item to students? is NOT checked, click Create Go to Assignment tool Create an assignment Fill title, instructions, Open Date in the past, Grade Scale: Points, Points: 10, Associate with existing GradeBook item: Select "GradebookItem" and post. Enter as a student Click assignment Submit the assignment Click "Back to list" Click the assignment See next error   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.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) caused by: org.sakaiproject.service.gradebook.shared.GradebookSecurityException: You do not have permission to perform this operation at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl$13.doInHibernate(GradebookServiceHibernateImpl.java:2290) at org.springframework.orm.hibernate4.HibernateTemplate.doExecute(HibernateTemplate.java:341) at org.springframework.orm.hibernate4.HibernateTemplate.execute(HibernateTemplate.java:296) at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getAssignmentScoreString(GradebookServiceHibernateImpl.java:2273) at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getAssignmentScoreString(GradebookServiceHibernateImpl.java:2341) at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getAssignmentScoreStringByNameOrId(GradebookServiceHibernateImpl.java:2349) at sun.reflect.GeneratedMethodAccessor1404.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)      

      Description

      See testing plan

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jesusmmp Jesus Maria Mendez
                  Reporter:
                  jesusmmp Jesus Maria Mendez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code