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

Comments don't restore in Database Activity

    XMLWordPrintable

Details

    • MOODLE_24_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • wip-MDL-41772-master
    • 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.

    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.

      Attachments

        Issue Links

          Activity

            People

              abgreeve Adrian Greeve
              stencil Ross Manson
              Dan Poltawski Dan Poltawski
              Marina Glancy Marina Glancy
              Rossiani Wijaya Rossiani Wijaya
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Nov/13