[gradebook2-dev] copying gradebooks

Jon Gorrono jpgorrono at ucdavis.edu
Wed Oct 20 15:45:00 PDT 2010


For now AFAIK there's no distinction between a gradebook uid and the
site id of the site that it is in

On Wed, Oct 20, 2010 at 2:26 PM, John Bush <john.bush at rsmart.com> wrote:
> well no it doesn't but I only had one site with a gradebook. It looks
> like that id is actually a site id not a gradebook id, so I think
> that's the root of the issue.
>
> On Wed, Oct 20, 2010 at 1:55 PM, Thomas Amsler <tpamsler at ucdavis.edu> wrote:
>> John,
>>
>> This feature was initially scheduled for the 1.3.0 release but we had
>> to disable it since we didn't have time to fully test it. Maybe Jon
>> Gorrono can add some information w.r.t. the exception that you are
>> seeing.
>>
>> Did you check in your DB if the requested gradebook with ID
>> 805bf30f-37f8-4a40-8994-c1849422e6fe exists in your gradebook table?
>>
>>
>> Best,
>> -- Thomas
>>
>> On Wed, Oct 20, 2010 at 10:54 AM, John Bush <john.bush at rsmart.com> wrote:
>>> 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
>>> _______________________________________________
>>> gradebook2-dev mailing list
>>> gradebook2-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>>>
>>
>
>
>
> --
> John Bush
> 602-490-0470
>



-- 
Jon Gorrono
PGP Key: 0x5434509D -
http{pgp.mit.edu:11371/pks/lookup?search=0x5434509D&op=index}
GSWoT Introducer - {GSWoT:US75 5434509D Jon P. Gorrono <jpgorrono - gswot.org>}
http{sysdev.ucdavis.edu}


More information about the gradebook2-dev mailing list