19x-Site Archive>Import: Assignment and Calendar import - NPE
GENERAL
TESTING
GENERAL
TESTING
Description
Attachments
8
Activity
Show:

Shawn Foster February 22, 2021 at 1:30 PM
Sounds like the calendar events are just copies of the original site's with no connection to the assignments that created them.
Details
Details
Priority
Affects versions
Components
Assignee
Reporter

Environment
19x: https://qa19-mysql.nightly.sakaiproject.org/, build: f83720be
Created February 21, 2021 at 10:37 AM
Updated February 22, 2021 at 1:30 PM
19x does export/import assignments but there is an issue with the calendar link, just as in SAK-45065.
20x imports the assignment, also in draft mode, and the calendar points to the "archive" site, but takes the instructor to view that assignment. On publishing the assignment in the import site, a second due link is also created, but this one takes the instructor to the assignment view in the same site (import site). I did not see any stacktraces for 20x.
The assignment in 19x imports as a draft version, the calendar has the link for the due date (but the link takes you to the "archive" site and an error displays.
Clicking to post the assignment in the import site now creates another calendar entry for the assignment.
When doing an archive site import, the due dates for assignments should NOT import, but let the entry be created when the instructor posts the assignment.
There is a stacktrace on the server when clicking the calendar link in the import site.
Caused by: java.lang.NullPointerExceptionCaused by: java.lang.NullPointerException at org.sakaiproject.assignment.tool.AssignmentAction.assignment_resubmission_option_into_state(AssignmentAction.java:14093) at org.sakaiproject.assignment.tool.AssignmentAction.doView_assignment(AssignmentAction.java:9232)