Details

    • Test Plan:
      Hide
      1. Create two sites (e.g., Site #1 and Site #2) with Resources and Tests & Quizzes. In Site #2, add at least one student who is NOT a member of Site #1.
      2. In Resources in Site #1, create a folder with the setting hidden but allow access to contents.
      3. Upload an image in the hidden folder.
      4. Create an assessment that includes several questions with the following parameters:
        • A question (any type) with an image attached using the Add Attachments button.
        • A short answer/essay question with a document (Word or PDF) attached using the Add Attachments button.
        • A question (any type) where you use CKEditor to embed the image uploaded to the Resources folder in step 3 above into the question text.
        • A hot spot question.
      5. Go to the main page of Tests & Quizzes and Export the test using Content Packaging.
      6. Go to Site #2.
      7. In Tests & Quizzes in Site #2, Import the quiz (these additional export/import steps are important because importing will create an internal image reference within the quiz in Site #2 to the Resources image that was previously embedded in the question using CKeditor).
      8. Delete the quiz.
      9. Go to the Trash tab and restore the quiz.
      10. Edit the quiz and confirm that all attachments are present.
      11. Publish the quiz.
      12. As the student who is NOT a member of Site #1, take the quiz and confirm you can access all the attachments/images.
      13. For testing the hot spot question, go back to Site #1 and publish the original quiz.
      14. Delete the published quiz in Site #1.
      15. Restore the quiz in Site #1.
      16. Take the quiz in Site #1 as a student and confirm you can access all the attachments/images.
      Show
      Create two sites (e.g., Site #1 and Site #2) with Resources and Tests & Quizzes . In Site #2, add at least one student who is NOT a member of Site #1. In Resources in Site #1, create a folder with the setting hidden but allow access to contents . Upload an image in the hidden folder. Create an assessment that includes several questions with the following parameters: A question (any type) with an image attached using the Add Attachments button. A short answer/essay question with a document (Word or PDF) attached using the Add Attachments button. A question (any type) where you use CKEditor to embed the image uploaded to the Resources folder in step 3 above into the question text. A hot spot question. Go to the main page of Tests & Quizzes and Export the test using Content Packaging . Go to Site #2. In Tests & Quizzes in Site #2, Import the quiz (these additional export/import steps are important because importing will create an internal image reference within the quiz in Site #2 to the Resources image that was previously embedded in the question using CKeditor). Delete the quiz. Go to the Trash tab and restore the quiz. Edit the quiz and confirm that all attachments are present. Publish the quiz. As the student who is NOT a member of Site #1, take the quiz and confirm you can access all the attachments/images. For testing the hot spot question, go back to Site #1 and publish the original quiz. Delete the published quiz in Site #1. Restore the quiz in Site #1. Take the quiz in Site #1 as a student and confirm you can access all the attachments/images.
    • 20 status:
      Resolved

      Description

      As mentioned on SAK-42519 and SAK-42840 (parent), attachments to assessments are hard deleted when deleting an assessment. Therefore, the attachments cannot be recovered.

      In some assessments, attachments (e.g., images or Word docs) are critical to question content.
      For example, some instructors use file upload type questions for long essays. The question text instructs students to download an attached document with questions, answer the questions in Word, and upload back their edited file as a response.

      If an assessment with questions such as these is deleted and subsequently recovered, the instructor may not realize that their question content is missing, and publish a test that students are not able to take.

      Note: If it is made possible to restore deleted published assessments, the code will need to be modified for both Draft and Published copies, and tested with both.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  farreri Miguel Pellicer
                  Reporter:
                  rainribbon Tiffany Stull
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration