Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41360

Rubrics are not importing when doing a site import

    XMLWordPrintable

    Details

    • Test Plan:
      Hide

      You will need 2 sites.

      Site1:

      1. Create a rubric
      2. Create an assignment and attach the rubric
      3. Create a quiz with a short answer/essay question and attach the rubric
      4. Create a gradebook item and attach the rubric

      Site2:

      1. Click Site Info -> Import from Site
      2. Click "I would like to replace my data"
      3. Select Site1
      4. Check the checkbox at the top to select everything
      5. After the import is finished, verify the following:
        1. the rubric imported
        2. the assignment has the rubric attached
        3. the quiz has the rubric attached to the question
        4. the gradebook item has the rubric attached

       

      Show
      You will need 2 sites. Site1: Create a rubric Create an assignment and attach the rubric Create a quiz with a short answer/essay question and attach the rubric Create a gradebook item and attach the rubric Site2: Click Site Info -> Import from Site Click "I would like to replace my data" Select Site1 Check the checkbox at the top to select everything After the import is finished, verify the following: the rubric imported the assignment has the rubric attached the quiz has the rubric attached to the question the gradebook item has the rubric attached  

      Description

      This affects https://qa1-us.nightly.sakaiproject.org, Build Info: b5f86457, but not https://qa19-mysql.nightly.sakaiproject.org, Build Info: c57bb123 or https://trunk-mysql.nightly.sakaiproject.org, Build Info: f729c966.

      I created a site with a rubric and attached that rubric to assignments, forum topic, quiz, and gradebook items.

      I went into my second site and import from the first site, choosing to 'replace my data', and selected the checkbox at the top to select everything. After import, the rubric was not there, so none of the tools had an attached rubric.

      I'm attaching everything from the server logs that pertain to the import, but the main problems were:

      19-Feb-2019 20:40:36.388 ERROR [pool-5-thread-10] org.sakaiproject.rubrics.logic.RubricsServiceImpl.getCurrentSiteId generateJsonWebToken: current placement is null, Rubrics token won't be generated.
      19-Feb-2019 20:40:36.427 WARN [pool-5-thread-10] org.sakaiproject.rubrics.logic.RubricsServiceImpl.deleteRubricAssociation Error deleting rubric association for tool sakai.forums and id top.73 : I/O error on GET request for "https://qa1-us-mysql.nightly.sakaiproject.org/rubrics-service/rest/": qa1-us-mysql.nightly.sakaiproject.org; nested exception is java.net.UnknownHostException: qa1-us-mysql.nightly.sakaiproject.org

      19-Feb-2019 20:40:36.659 ERROR [pool-5-thread-10] org.sakaiproject.rubrics.logic.RubricsServiceImpl.transferCopyEntitiesRefMigrator Rubrics - transferCopyEntitiesRefMigrator : error trying to delete rubric -> I/O error on GET request for "https://qa1-us-mysql.nightly.sakaiproject.org/rubrics-service/rest/": qa1-us-mysql.nightly.sakaiproject.org; nested exception is java.net.UnknownHostException: qa1-us-mysql.nightly.sakaiproject.org

      19-Feb-2019 20:40:36.907 ERROR [pool-5-thread-10] org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries.copyAllAssessments Error while trying to duplicate Rubrics: I/O error on GET request for "https://qa1-us-mysql.nightly.sakaiproject.org/rubrics-service/rest/": qa1-us-mysql.nightly.sakaiproject.org; nested exception is java.net.UnknownHostException: qa1-us-mysql.nightly.sakaiproject.org
      19-Feb-2019 20:40:36.929 ERROR [pool-5-thread-10] org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries.copyAllAssessments Error while trying to duplicate Rubrics: I/O error on GET request for "https://qa1-us-mysql.nightly.sakaiproject.org/rubrics-service/rest/": qa1-us-mysql.nightly.sakaiproject.org; nested exception is java.net.UnknownHostException: qa1-us-mysql.nightly.sakaiproject.org
      19-Feb-2019 20:40:36.953 ERROR [pool-5-thread-10] org.sakaiproject.tool.assessment.facade.AssessmentFacadeQueries.copyAllAssessments Error while trying to duplicate Rubrics: I/O error on GET request for "https://qa1-us-mysql.nightly.sakaiproject.org/rubrics-service/rest/": qa1-us-mysql.nightly.sakaiproject.org; nested exception is java.net.UnknownHostException: qa1-us-mysql.nightly.sakaiproject.org

      19-Feb-2019 20:40:37.209 WARN [pool-5-thread-10] org.sakaiproject.sitemanage.impl.ETSUserNotificationProviderImpl.getSetupRequestEmailAddress org.sakaiproject.sitemanage.impl.ETSUserNotificationProviderImpl@7c15638d - no 'setup.request' in configuration

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  agschmidt Andrea Schmidt
                  Votes:
                  2 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration