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

Samigo > Importing quiz released to anonymous users does not preserve setting

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide
      Notes

      Testing requires 2 sites with rosters containing different students.

      1. In a site with a roster, create 4 quizzes, and in the Settings for each quiz, set a different Assessment Released to target, as follows:
        • "Quiz default" - leave default (Entire Site)
        • "Quiz groups 1" - Selected Group(s) and choose the site's roster
        • "Quiz groups 2" - Selected Group(s) and choose the site's roster
        • "Quiz anon" - Anonymous Users
      2. Export "Quiz default" and "Quiz groups 1" using Content Packaging.
      3. Export "Quiz groups 2" and "Quiz anon" using QTI v 1.2.
      4. In another course site with a student who is NOT active on the roster in the first site, import each assessment.
      5. Select Settings beside each quiz and verify that the quiz settings in the site where you imported it indicate the following targets:
        • "Quiz default" (imported) - Entire Site
        • "Quiz groups 1" (imported) - Entire Site
        • "Quiz groups 2" (imported) - Entire Site
        • "Quiz anon" - Anonymous Users
      6. From the list of pending assessments, choose Publish from the drop-down next to each imported assessment.
      7. On the publish assessment page, click publish for each quiz. When publishing ANON assessments, copy the Published Assessment URL for each.
      8. Log in as the student who was NOT a member of the first site and confirm the following:
        • You see all the quizzes that were released to Entire Site in the new site
        • You do NOT see either quiz released to Anon Users
      9. Confirm you can take the 3 visible published quizzes in the new site.
      10. For each of the 2 anonymous assessment URLs saved in step 7, paste the URL into your browser address bar and confirm you can submit the anonymous assessment.
      Show
      Notes Testing requires 2 sites with rosters containing different students. In a site with a roster, create 4 quizzes, and in the Settings for each quiz, set a different Assessment Released to target, as follows: "Quiz default" - leave default ( Entire Site ) "Quiz groups 1" - Selected Group(s) and choose the site's roster "Quiz groups 2" - Selected Group(s) and choose the site's roster "Quiz anon" - Anonymous Users Export "Quiz default" and "Quiz groups 1" using Content Packaging. Export "Quiz groups 2" and "Quiz anon" using QTI v 1.2. In another course site with a student who is NOT active on the roster in the first site, import each assessment. Select Settings beside each quiz and verify that the quiz settings in the site where you imported it indicate the following targets: "Quiz default" (imported) - Entire Site "Quiz groups 1" (imported) - Entire Site "Quiz groups 2" (imported) - Entire Site "Quiz anon" - Anonymous Users From the list of pending assessments, choose Publish from the drop-down next to each imported assessment. On the publish assessment page, click publish for each quiz. When publishing ANON assessments, copy the Published Assessment URL for each. Log in as the student who was NOT a member of the first site and confirm the following: You see all the quizzes that were released to Entire Site in the new site You do NOT see either quiz released to Anon Users Confirm you can take the 3 visible published quizzes in the new site. For each of the 2 anonymous assessment URLs saved in step 7, paste the URL into your browser address bar and confirm you can submit the anonymous assessment.

      Description

      When importing a quiz which was exported with the Assessment released to setting set to "Anonymous", this setting is not preserved. It ends up being released to the entire site when imported.

      The behaviour should be as follows:

      • If quiz is released to default Entire Site in site 1, imported quiz should be released to Entire Site in site 2.
      • If quiz is released to Selected Group(s) in site 1, imported quiz should be released to Entire Site in site 2.
      • If quiz is released to Anonymous Users in site 1, imported quiz should be released to Anonymous Users in site 2. Issue: Currently, anonymous release assessments are switching to Entire Site release.

      This bug was introduced in SAK-36910, and George Pipkin commented with his findings there, but never received any feedback. It seems like the code from SAK-36910 is unnecessary and introduces the bug described in this ticket.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  bjones86 Brian Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code