Moodle
  1. Moodle
  2. MDL-26546

Missing files in Workshop assessment forms after restore

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: Backup, Workshop
    • Labels:
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Rank:
      16307

      Description

      In MDLQA-646, Eloy spotted missing embedded images in workshop assessment forms after restore. I just tried and can confirm this is a bug. Triaging as critical because of data loss.

      To reproduce:
      1. Create a new workshop, whatever grading strategy
      2. Edit the assessment form
      3. Embed an image in the description of the form dimension (aspect, criterion, ...)
      4. Backup the course with the workshop
      5. Restore as a new course

      Expected behaviour:
      The new workshop in the restored course has the images embedded correctly

      What actually happens:
      The MBZ file contains all files and XML metadata. But during the workshopform subplugin restore, the copies of files are not registered in the

      {files}

      table.

        Activity

        Hide
        David Mudrak added a comment -

        Eloy gave me a hint a he was right. This is a regression of commits 8fa86f and ac0f8f where I changed the mapping names.

        Show
        David Mudrak added a comment - Eloy gave me a hint a he was right. This is a regression of commits 8fa86f and ac0f8f where I changed the mapping names.
        Hide
        David Mudrak added a comment -

        Patch submitted for integration.

        Show
        David Mudrak added a comment - Patch submitted for integration.
        Hide
        Helen Foster added a comment -

        Many thanks to our wonderful workshop maintainer!

        Show
        Helen Foster added a comment - Many thanks to our wonderful workshop maintainer!

          People

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

            Dates

            • Created:
              Updated:
              Resolved: