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

Samigo > Restore Assessments > When restoring published date, date not updated

    XMLWordPrintable

    Details

    • 20 status:
      Verified
    • 19 status:
      Verified
    • Test Plan:
      Hide

      On Trunk, navigate to a site with the Tests & Quizzes tool (or add it to a site). Then:

      1. Simply create an assessment with any name.
      2. Add at least one question then publish the assessment
      3. Make note of the "Modified Date" of the assessment.
      4. Wait 2+ minutes, and then delete the published assessment.
      5. Go to the new "Restore Assessments" tab.
      6. Note the "Deleted On" date. It is the same as the "Modified Date" (see step 3). 
      7. Now, restore the assessment, and then delete it yet again.
      8. Go back to the new Restore Assessments tab.
      9. Once again, you will see that the "Deleted On" date hasn't changed.

      If this issue has been corrected, then the "Deleted on" Date should actually be reflective of when the assessment was deleted, not when the assessment was last modified. 

      Show
      On Trunk, navigate to a site with the Tests & Quizzes tool (or add it to a site). Then: Simply create an assessment with any name. Add at least one question then publish  the assessment Make note of the "Modified Date" of the assessment. Wait 2+ minutes, and then delete the published assessment. Go to the new "Restore Assessments" tab. Note the "Deleted On" date. It is the same as the "Modified Date" (see step 3).  Now, restore the assessment, and then delete it yet again. Go back to the new Restore Assessments tab. Once again, you will see that the "Deleted On" date hasn't changed. If this issue has been corrected, then the "Deleted on" Date should actually be reflective of when the assessment was deleted, not when the assessment was last modified. 

      Description

      In Test and Quizzes when restoring a published assessment the modified date doesn't reflect the date that the assessment was restored, only that it was deleted. The method restorePublishedAssessment was missed in SAK-42806.

      Draft assessments work as expected.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration