[Building Sakai] Assignment2 Site import with TII

Wagner, Michelle R. wagnermr at iupui.edu
Tue May 22 11:52:13 PDT 2012


Hi Jeremy,
This issue sounds very familiar, but I haven't been able to track down a jira for it (ASNN or locally). I did find a contributed patch that hasn't been applied that will at least allow the import to proceed if there is an error with TII:
https://jira.sakaiproject.org/browse/ASNN-752

I will let you know if I come across a better solution (preferably one that already exists!), but I will go ahead and evaluate this patch and get it committed to at least mitigate the problem going forward.

Thanks,
Michelle
________________________________
From: sakai-dev-bounces at collab.sakaiproject.org [sakai-dev-bounces at collab.sakaiproject.org] on behalf of Kusnetz, Jeremy [JKusnetz at APUS.EDU]
Sent: Tuesday, May 22, 2012 1:39 PM
To: sakai-dev
Subject: [Building Sakai] Assignment2 Site import with TII

We are having problem importing Assignment2 assignments with Turnitin enabled on the source site’s assignments when the due date for the source site is before the current date.

It looks like the TII settings are being copied to the new site’s assignment, but since the due date is prior to the current date TII is erroring out causing the assignment and all assignments after the one with the TII to not import.

Is there a setting to disable TII from importing with the assignment so that the instructor can turn it on after they correct the assignment’s due dates?  It looks like TII won’t let you setup a due date in the past when first creating the assignment, but will allow you to change it to the past after the assignment has been saved and TII setup on their end.  I guess this wouldn’t be a problem if TII let you setup duedates in the past when first creating the assignment.

.
.
dtdue = 2012-04-29 23:55:00
dtstart = 2012-05-21 13:24:00
.
.
2012-05-22 13:24:02,793 DEBUG TP-Processor2672 org.sakaiproject.turnitin.util.TurnitinAPIUtil.apicalltrace -  Result from call: <?xml version="1.0" encoding="UTF-8"?>
<returndata>
                <rmessage>When creating your assignment, please make sure that the post date is on or after the start date of the assignment.</rmessage>
                <rcode>2309</rcode>
</returndata><!-- Turnitin API Return Data -->
2012-05-22 13:24:02,793 DEBUG TP-Processor2672 org.sakaiproject.contentreview.impl.turnitin.TurnitinReviewServiceImpl - FirstDate Assignment creation failed with message: When creating your assignment, please make sure that the post date is on or after the start date of the assignment.. Code: 2309
2012-05-22 13:24:02,798  WARN TP-Processor2672 org.sakaiproject.site.tool.SiteAction - org.sakaiproject.site.tool.SiteAction at 41c955a0.transferCopyEntities: Error encountered while asking EntityTransfer to transferCopyEntities from: 9a01d51a-c693-4c10-825b-f2c621e3460f to: 186974
org.sakaiproject.assignment2.exception.ContentReviewException: The assignment was saved, but Turnitin information was unable to be updated
                at org.sakaiproject.assignment2.logic.impl.AssignmentLogicImpl.saveAssignment(AssignmentLogicImpl.java:464)
                at org.sakaiproject.assignment2.logic.impl.ImportExportLogicImpl.mergeAssignmentToolDefinitionXml(ImportExportLogicImpl.java:323)
                at org.sakaiproject.assignment2.logic.entity.AssignmentEntityProducer.transferCopyEntities(AssignmentEntityProducer.java:82)

This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120522/8b9dcfc3/attachment.html 


More information about the sakai-dev mailing list