[gradebook2-dev] copying gradebooks

John Bush john.bush at rsmart.com
Wed Oct 20 10:54:16 PDT 2010


In order to see gradebook2 as an option to import from site, we
uncomment the following from war/WEB-INF/gbServices.xml

<--
<bean id="gradebook2.EntityProducerTransferrer"
class="org.sakaiproject.gradebook.entity.Gradebook2EntityProducerTransferAgent"
init-method="init">
<property name="entityManager"
ref="org.sakaiproject.entity.api.EntityManager" />
<property name="componentService"
ref="org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentService"
/>
<property name="toolService"
ref="org.sakaiproject.gradebook.gwt.sakai.GradebookToolService" />
<property name="label"><value>gradebook2</value></property>
<property name="myToolIds">
<set>
<value>sakai.gradebook.gwt.rpc</value>
</set>
</property>
</bean>
-->

The we get an exception trying to do a copy.  Is this just a feature
that isn't supported yet ?

2010-10-20 10:48:16,806  WARN http-8888-Processor24
org.sakaiproject.site.tool.SiteAction - Error encountered while asking
EntityTransfer to transferCopyEntities from:
95e7c114-005f-4413-8031-c55999b3dc9d to:
805bf30f-37f8-4a40-8994-c1849422e6fe
org.sakaiproject.service.gradebook.shared.GradebookNotFoundException:
Could not find gradebook uid=805bf30f-37f8-4a40-8994-c1849422e6fe
        at org.sakaiproject.gradebook.gwt.sakai.hibernate.GradebookToolServiceImpl.getGradebook(GradebookToolServiceImpl.java:1207)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.

-- 
John Bush
602-490-0470


More information about the gradebook2-dev mailing list