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

Comments don't restore in Database Activity

    Details

    • Testing Instructions:
      Hide
      1. Create a database activity.
        • In the [Entries] section set "Allow comments on entries" to Yes.
      2. Add some fields.
      3. Save the templates.
      4. Add a couple of entries.
      5. Go to the single view of an entry and add some comments.
      6. Back up the database activity. [Administration ► Database activity administration ► Backup]
      7. Restore the database activity into another course.
      8. Open the new database activity and check that the comments have been restored.
      Show
      Create a database activity. In the [Entries] section set "Allow comments on entries" to Yes. Add some fields. Save the templates. Add a couple of entries. Go to the single view of an entry and add some comments. Back up the database activity. [Administration ► Database activity administration ► Backup] Restore the database activity into another course. Open the new database activity and check that the comments have been restored.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-41772-master

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    11/Nov/13