[gradebook2-dev] Hiding GB from Import from Site

Kusnetz, Jeremy JKusnetz at APUS.EDU
Tue Mar 13 06:50:51 PDT 2012


John, I've verified that by commenting out <value>sakai.gradebook.gwt.rpc</value> from components.xml in edu-services that GB2 is now no longer in the list of tools from import from site.  I'll go ahead and open an rsn ticket on this.

Sorry for mucking up the gb2-dev mailing lists.  Thanks for everyone's help.



-----Original Message-----
From: John Bush [mailto:john.bush at rsmart.com] 
Sent: Tuesday, March 13, 2012 9:21 AM
To: Kusnetz, Jeremy
Cc: Thomas Amsler; gradebook2-dev at collab.sakaiproject.org
Subject: Re: [gradebook2-dev] Hiding GB from Import from Site

Jeremy I think this is b/c of a change we made in
edu-services/gradebook-service/sakai-pack/src/webapp/WEB-INF/components.xml

Index: edu-services/gradebook-service/sakai-pack/src/webapp/WEB-INF/components.xml
===================================================================
--- edu-services/gradebook-service/sakai-pack/src/webapp/WEB-INF/components.xml	(revision
20634)
+++ edu-services/gradebook-service/sakai-pack/src/webapp/WEB-INF/components.xml	(revision
)
@@ -153,6 +153,7 @@
 		<property name="toolIds">
 		    <list>
 				<value>sakai.gradebook.tool</value>
+                <value>sakai.gradebook.gwt.rpc</value>
 			</list>
 		</property>
         <property name="entityManager">

This change was intended to solve this problem.

When Gradebook2 is added to a site without Gradebook, a gradebookUid
for that site is not created until Gradebook2 is visited once. Because
of this, assignments and quizzes will not appear in Gradebook2 after
being posted. When using the reuse from site and import from site
functions, any gradebook items from these imports will not be added to
Gradebook2.

It looks to me like this change needs to be backed out as
Gradebook2EntityProducerTransferAgent will address the gradebook uid
not always being there.


On Tue, Mar 13, 2012 at 4:57 AM, Kusnetz, Jeremy <JKusnetz at apus.edu> wrote:
> The rSmart CLE.  I've tried 2.8.0 and 2.8.1.  This method works on their 2.6.4 CLE.  If you can verify that this is supposed to work with GB2 >= 1.4.1 I'll go to them to see if it's something they are doing.
>
> Also I've verified that that it is commented out in the deployed gbServices.xml in the tomcat webapp directory.
>
> ________________________________
>
> From: Thomas Amsler [mailto:tpamsler at ucdavis.edu]
> Sent: Tue 3/13/2012 5:35 AM
> To: Kusnetz, Jeremy
> Cc: gradebook2-dev at collab.sakaiproject.org
> Subject: Re: [gradebook2-dev] Hiding GB from Import from Site
>
>
>
> Jeremy,
>
> What versin of Sakai are you using? Are you using the Sakai Foundation
> code base or rSmart CLE?
>
> Best,
> -- Thomas
>
> On Mon, Mar 12, 2012 at 10:01 PM, Jon Gorrono <jpgorrono at ucdavis.edu> wrote:
>> Jeremy,
>>
>>  Commenting out the bean should be all you need to do.
>>
>> In order for a class to be used/participate in the site-to-site copy
>> it has to implement the marker interface : EntityTransferrer.... there
>> is only one such class in GB2: Gradebook2EntityProducerTransferAgent
>> ... so commenting out any beans that instantiate that will block that
>> process. ..... and there is only one of those OOTB:
>> gradebook2.EntityProducerTransferrer
>>
>> So the only thing that pops to mind is that you have commented out
>> bean in the wrong file, perhaps? One that is in a build target path
>> instead of the src?
>>
>> Make sure your editing the file
>> <gb2-source>/war/WEB-INF/gbServices.xml for a sakai deployment and
>> <gb2-source>/war/WEB-INF/gbServices-hosted.xml for devel model
>>
>>
>>
>>
>> On Mon, Mar 12, 2012 at 7:39 AM, Kusnetz, Jeremy <JKusnetz at apus.edu> wrote:
>>> In Sakai 2.6 we have GB2 version 1.3, we disabled the GB2 tool from showing
>>> up in Import from Site by commenting out the
>>> gradebook2.EntityProducerTransferrer bean in gbServices.xml.
>>>
>>>
>>>
>>> In Sakai 2.8 and 2.8.1 we have GB2 version 1.4.1 and 1.7, commenting out
>>> this bean doesn't seem to disable the tool from import.  Any ideas?
>>>
>>>
>>>
>>> From reading the JIRAs it sounds like all the import issues were resolved in
>>> 1.4.1.  For the most part it does seem to be working, but we are finding
>>> that items are not coming over in the same order as the source site and for
>>> now we just wanted to disable the tool in import and force instructors to
>>> just import via CSV from within the tool itself.
>>>
>>>
>>>
>>>
>>>
>>> This message is private and confidential. If you have received it in error,
>>> please notify the sender and remove it from your system.
>>>
>>> _______________________________________________
>>> gradebook2-dev mailing list
>>> gradebook2-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>>>
>>
>>
>>
>> --
>> 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 -
>> www.gswot.org>}
>> http{middleware.ucdavis.edu}
>> _______________________________________________
>> gradebook2-dev mailing list
>> gradebook2-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>
>
> This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
>
> _______________________________________________
> gradebook2-dev mailing list
> gradebook2-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev



-- 
John Bush
602-490-0470
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.



More information about the gradebook2-dev mailing list