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

Import/Use a preset - existing fields are not always deleted

    XMLWordPrintable

Details

    • 1
    • HQ Sprint 1.1 Moppies

    Description

      I noticed this while developing on MDL-75492.

      Test 1:

      • Create a new database activity
      • Go to presets and use Image gallery
      • Go to fields and add a new field called "addfield"
      • Go back to preset and use image gallery again
      • In the mapping page do not check "Overwrite settings"
      • Check that the new field "addfield" has disappeared

      Test 1:

      • Create a new database activity
      • Go to presets and use Image gallery
      • Rename all fields xxx to xxx2 (for example image to image2)
      • Go back to preset and use image gallery again
      • In the mapping page do not check "Overwrite settings"
      • Check that the old field and new fields coexist (which should not be the case)

      A solution has been found in MDL-75492 and can be backported.

      Attachments

        Issue Links

          Activity

            People

              amaia Amaia Anabitarte
              laurent.david@moodle.com Laurent David
              Carlos Escobedo Carlos Escobedo
              Ferran Recio Ferran Recio
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Jan/23

                Time Tracking

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