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

deleting database activity preset is not possible

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      1) Login as admin
      2) Create a database activity
      3) Add one Database Field
      4) Create one template (just click save template as soon as you enter the form)
      5) Click the Presets tab
      6) Go to the 'Save as preset' section and click continue
      [TEST] After clicking continue and returning to the Presets tab check to make sure that your preset is now present in the 'Use a preset' section and that there is an X located next to it to delete it.

      [Please note that if you have any presets that you created before this fix they will not have an X next to them]

      7) Delete the preset.
      [TEST] make sure that the preset has been deleted.

      Show
      1) Login as admin 2) Create a database activity 3) Add one Database Field 4) Create one template (just click save template as soon as you enter the form) 5) Click the Presets tab 6) Go to the 'Save as preset' section and click continue [TEST] After clicking continue and returning to the Presets tab check to make sure that your preset is now present in the 'Use a preset' section and that there is an X located next to it to delete it. [Please note that if you have any presets that you created before this fix they will not have an X next to them] 7) Delete the preset. [TEST] make sure that the preset has been deleted.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-29086-master

      Description

      If you use "Save as preset" there is no way to delete this preset. Tested as Admin and Manager. It seems that mod/data:manageuserpresets didn't work.

      Replication steps:

      1. Login as Admin / Manager
      2. Create Database activity
      3. Add one Database Field
      4. Create one template (like Add template)
      5. Save this template
      6. goto Presets
      7. Save as preset

      Now you can see and chose the preset, but there is no way to deleting it.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  9 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Mar/12