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

isAssignmentDefined should not throw an exception

    Details

    • 12 status:
      Resolved
    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-3255
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      To replicate using 11.3+:

      1) You need a tool that will create external gradebook items that use numerical ids similar to Samigo. The only one I know of right now is MHCampus (McGraw Hill)

      2) Add MHCampus, Gradebook, Samigo to a site

      3) Create MHCampus items that use Gradebook

      4) View Gradebook as a Student

      Caused by: org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only
      	at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
      	at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:504)
      	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:292)
      	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.$Proxy132.isExternalAssignmentGrouped(Unknown Source)
      	at org.sakaiproject.gradebookng.business.GradebookNgBusinessService.getGradebookAssignmentsForStudent(GradebookNgBusinessService.java:342)
      	at org.sakaiproject.gradebookng.business.GradebookNgBusinessService.getGradesForStudent(GradebookNgBusinessService.java:1699)
      	at WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$FastClassByCGLIB$$86be4ca5.invoke(<generated>)
      	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
      	at org.apache.wicket.proxy.LazyInitProxyFactory$CGLibInterceptor.intercept(LazyInitProxyFactory.java:341)
      	at WICKET_org.sakaiproject.gradebookng.business.GradebookNgBusinessService$$EnhancerByCGLIB$$51488b97.getGradesForStudent(<generated>)
      	at org.sakaiproject.gradebookng.tool.panels.StudentGradeSummaryGradesPanel.onBeforeRender(StudentGradeSummaryGradesPanel.java:93)
      	at org.apache.wicket.Component.internalBeforeRender(Component.java:949)
      	at org.apache.wicket.Component.beforeRender(Component.java:1017)
      	at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1687)
      	... 64 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ottenhoff Sam Ottenhoff
                  Reporter:
                  ottenhoff Sam Ottenhoff
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code