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

Import from site: Links to a Quiz in Lessons cannot be edited within Lessons tool

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. As an instructor, open a course site (site A) with Lessons and Test & Quizzes tool.
      2. Create a test in Test & Quizzes and publish it.
      3. In Lessons tool, click Add Content > Link to a Test or Quiz > Existing Tests, select the test you have just created.
      4. Open another course site (site B), click Site Info > Import from Site, and import Test & Quizzes and Lessons from Site A.
      5. Open the Test & Quizzes in Site B. Make sure the new test in Site A is correctly imported, but it is a draft.
      6. Open the Lessons tool in Site B. Make sure that there is a message saying that the quiz is not published.
      7. Click the pencil icon beside the link to the quiz and click "Edit Quiz Settings."

      Expected Behavior: You will be directed to the quiz setting page and will be able to publish the quiz.

      Current Behavior:  404 Not Found appears in 19x; you will not be directed to any new page in 21x.

      Show
      As an instructor, open a course site (site A) with Lessons and Test & Quizzes tool. Create a test in Test & Quizzes and publish it. In Lessons tool, click Add Content > Link to a Test or Quiz > Existing Tests, select the test you have just created. Open another course site (site B), click Site Info > Import from Site, and import Test & Quizzes and Lessons from Site A. Open the Test & Quizzes in Site B. Make sure the new test in Site A is correctly imported, but it is a draft. Open the Lessons tool in Site B. Make sure that there is a message saying that the quiz is not published. Click the pencil icon beside the link to the quiz and click "Edit Quiz Settings." Expected Behavior: You will be directed to the quiz setting page and will be able to publish the quiz. Current Behavior:   404 Not Found appears in 19x; you will not be directed to any new page in 21x.

      Description

      When one site imports Test & Quizzes and Lessons tools from another site that has a link to a quiz in Lessons, the user will not be able to edit the setting of the linked quiz in Lessons in the site that imports T&Q and Lessons. (See screenshot) 

      However, if you use the same test plan for this issue and replace all "Test & Quizzes" with Assignments, the user will be able to edit the setting of the linked assignment in Lessons. (See screenshot). In addition, the user can edit the setting of the imported quiz in the Test & Quizzes tool. 

      One possible reason might be that because the published quizzes in the original site are changed into drafts in the new site, the "Edit Quiz Settings" links in Lessons tool are not directed to the drafts; rather, they still attempt to direct to the published versions, which don't exist in the new site. 

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                maintenanceteam Core Team
                Reporter:
                fyin2 Fangcong Yin
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration