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

Jon Gorrono jpgorrono at ucdavis.edu
Tue Jun 5 13:59:48 PDT 2012


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.applyMustIncludeCategoryRule(BusinessLogicImpl.java:149)
>        at org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.doUpdateItem(Gradebook2ComponentServiceImpl.java:2963)
>        at org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.handleImportItemModification(Gradebook2ComponentServiceImpl.java:3170)
>        at org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.handleImportItemModification(Gradebook2ComponentServiceImpl.java:3259)
>        at org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.upload(Gradebook2ComponentServiceImpl.java:3302)
>        at org.sakaiproject.gradebook.gwt.sakai.Gradebook2ComponentServiceImpl.upload(Gradebook2ComponentServiceImpl.java:3270)
>        at org.sakaiproject.gradebook.gwt.sakai.rest.resource.Upload.update(Upload.java:76)
>        at org.sakaiproject.gradebook.gwt.sakai.rest.resource.Upload.update(Upload.java:89)
>        at org.sakaiproject.gradebook.entity.Gradebook2EntityProducerTransferAgent.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}


More information about the gradebook2-dev mailing list