Moodle
  1. Moodle
  2. MDL-41772

Comments don't restore in Database Activity

    Details

    • Rank:
      52920

      Description

      Database activity with comments. Backup course with all user info, files etc. Restore as new course on same Moodle instance OR new Moodle instance.

      All fields, records, presets, templates restore perfectly, and no issues with other elements of restored course.

      Backup MBZ shows comments present in comments.xml. Comments don't appear in restored Database activity.

        Issue Links

          Activity

          Hide
          Dan Poltawski added a comment -

          Looks good to me, thanks Adrian

          Show
          Dan Poltawski added a comment - Looks good to me, thanks Adrian
          Hide
          Marina Glancy added a comment -

          Something I noticed while testing:
          Duplicating the database activity does not duplicate the entries. For example try duplicating "Image gallery" in "Moodle Features Demo" on qa.moodle.net. Could not find an issue for it

          Show
          Marina Glancy added a comment - Something I noticed while testing: Duplicating the database activity does not duplicate the entries. For example try duplicating "Image gallery" in "Moodle Features Demo" on qa.moodle.net. Could not find an issue for it
          Hide
          Marina Glancy added a comment -

          Thanks Adrian, integrated in 2.4, 2.5 and master

          Show
          Marina Glancy added a comment - Thanks Adrian, integrated in 2.4, 2.5 and master
          Hide
          Ross Manson added a comment -

          Not duplicating the entries would seem logical behaviour, Marina. Fields and templates duplicate nicely.
          Duplicating a forum doesn't duplicate the contents - similar logic to duplicating a database activity.

          Show
          Ross Manson added a comment - Not duplicating the entries would seem logical behaviour, Marina. Fields and templates duplicate nicely. Duplicating a forum doesn't duplicate the contents - similar logic to duplicating a database activity.
          Hide
          Rossiani Wijaya added a comment -

          This is working as expected.

          Tested for 2.4, 2.5 and master.

          Test passed.

          Show
          Rossiani Wijaya added a comment - This is working as expected. Tested for 2.4, 2.5 and master. Test passed.
          Hide
          Marina Glancy added a comment -

          And THANK YOU again for making Moodle better every day!

          Another weekly release has been released.

          Show
          Marina Glancy added a comment - And THANK YOU again for making Moodle better every day! Another weekly release has been released.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: