[gradebook2-dev] Incorrectly-weighed gradebook exception during Duplicate site process

Jon Gorrono jpgorrono at ucdavis.edu
Wed Jun 6 11:51:33 PDT 2012


Thank you very much. I'm pretty sure this will make the priority list
for the next release

On Wed, Jun 6, 2012 at 7:02 AM, Geng, Kelly <gengx at muohio.edu> wrote:
> GRBK-1327 is created for this.
>
> Thanks,
> Kelly
>
> -----Original Message-----
> From: Jon Gorrono [mailto:jpgorrono at ucdavis.edu]
> Sent: Tuesday, June 05, 2012 5:00 PM
> To: Geng, Kelly
> Cc: gradebook2-dev at collab.sakaiproject.org
> Subject: Re: [gradebook2-dev] Incorrectly-weighed gradebook exception during Duplicate site process
>
> Thanks, Kelly...
>
> Would you mind creating a jira ticket for this? :
> https://jira.sakaiproject.org/browse/GRBK
>
> Site-to-site is using export and then an import to move the gradebook... it should be ignoring business rules during 'import' part of this case.
>
> On Tue, Jun 5, 2012 at 1:46 PM, Geng, Kelly <gengx at muohio.edu> wrote:
>> Hi GB2 developers,
>>
>> On our gb2 1.7.1 instance(on sakai2.8.x), we found that using the Duplicate Site to copy the gradebook, if the gb is not correctly weighed, the copying will erred out and throw the exception pasted below. However, if I use the 'import from site' or 're-use material' option to copy the content, the same gb are copied over successfully. Is there any reason that more checking is needed in the duplicate-site process?
>>
>> Thanks,
>> Kelly
>> Miami University
>>
>> ----------------------------------------------------------------------
>> ---------------------------
>> 2012-06-05 15:57:25,338 DEBUG TP-Processor6
>> org.sakaiproject.assignment.impl.BaseAssignmentService - ASSIGNMENT :
>> BASE ASSIGNMENT : LEAVING TOXML
>> org.sakaiproject.gradebook.gwt.client.exceptions.BusinessRuleException: You must select a category to group this item under.
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.BusinessLogicImpl.applyMustInclud
>> eCategoryRule(BusinessLogicImpl.java:149)
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.do
>> UpdateItem(Gradebook2ComponentServiceImpl.java:2963)
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.ha
>> ndleImportItemModification(Gradebook2ComponentServiceImpl.java:3170)
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.ha
>> ndleImportItemModification(Gradebook2ComponentServiceImpl.java:3259)
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.up
>> load(Gradebook2ComponentServiceImpl.java:3302)
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.up
>> load(Gradebook2ComponentServiceImpl.java:3270)
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.rest.resource.Upload.update(Uploa
>> d.java:76)
>>        at
>> org.sakaiproject.gradebook.gwt.sakai.rest.resource.Upload.update(Uploa
>> d.java:89)
>>        at
>> org.sakaiproject.gradebook.entity.Gradebook2EntityProducerTransferAgen
>> t.transferCopyEntities(Gradebook2EntityProducerTransferAgent.java:278)
>> _______________________________________________
>> 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}



-- 
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}


More information about the gradebook2-dev mailing list