Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65779

Forum activity backup and restore doesn't persist private reply state

    XMLWordPrintable

Details

    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65779-master
    • Hide

      Steps to replicate:

      1. Log in as admin
      2. Create a site with 2 users
      3. Create a course with a forum
      4. Enrol both users as students
      5. Log in as user 1
      6. Create a discussion in the forum
      7. Log in as admin
      8. View the discussion
      9. Add a private reply to user 1's post
      10. Backup the course (you don't need to include anything other than this forum activity)
      11. Restore that backup into this course and have to add to the course (not override it)
      12. Log in as user 2
      13. View the original forum discussion
      14. CONFIRM that you can see the admin's private reply to user 1
      15. View the restored forum discussion
      16. CONFIRM that you now see the admin's private reply to user 1
      Show
      Steps to replicate: Log in as admin Create a site with 2 users Create a course with a forum Enrol both users as students Log in as user 1 Create a discussion in the forum Log in as admin View the discussion Add a private reply to user 1's post Backup the course (you don't need to include anything other than this forum activity) Restore that backup into this course and have to add to the course (not override it) Log in as user 2 View the original forum discussion CONFIRM that you can see the admin's private reply to user 1 View the restored forum discussion CONFIRM that you now see the admin's private reply to user 1

    Description

      If a forum that contains private replies is backed up and then restored the private replies will no longer be private in the newly restored activity.

      Steps to replicate:

      1. Log in as admin
      2. Create a site with 2 users
      3. Create a course with a forum
      4. Enrol both users as students
      5. Log in as user 1
      6. Create a discussion in the forum
      7. Log in as admin
      8. View the discussion
      9. Add a private reply to user 1's post
      10. Backup the course (you don't need to include anything other than this forum activity)
      11. Restore that backup into this course and have to add to the course (not override it)
      12. Log in as user 2
      13. View the original forum discussion
      14. CONFIRM that you can't see the admin's private reply to user 1
      15. View the restored forum discussion
      16. CONFIRM that you now see the admin's private reply to user 1

      Attachments

        Activity

          People

            peterdias Peter Dias
            ryanwyllie Ryan Wyllie
            Mihail Geshoski Mihail Geshoski
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jul/19

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 10 minutes
                2h 10m