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

Multiple issues with plugin installing, upgrading, uninstalling and reinstalling

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      Test 1
      1. Visit your mod directory and type "git clone https://github.com/markn86/moodle-mod_certificate certificate".
      2. Install the module.
      3. Visit the plugins overview page and click to uninstall it.
      4. Once you get to the success page remove the mod/certificate folder and click continue.
      5. You should be directed to admin/index.php.
      6. Follow the prompts to finish the 'upgrade'.
      7. Visit the plugins overview page and ensure there are no errors about a missing string for certificate plugin.
      Test 2
      1. Visit your plugins overview page.
      2. Uninstall 'mod_book' by following the prompts (but do not remove from your directory).
      3. Go back to your plugins overview page and notice how it says 'To be installed' next to 'Book'.
      4. Visit admin/index.php and ensure you can reinstall the plugin.
      Test 3
      1. Upgrade from 2.2.x and 2.5.x and ensure there are no errors.
      Test 4
      1. Perform a fresh install and ensure there are no errors.
      Test 5
      1. On the upgrades site and fresh installed site ensure you can edit blocks on admin/index.php.
      Test 6
      1. Try add-on installer tool.
      Show
      Test 1 Visit your mod directory and type "git clone https://github.com/markn86/moodle-mod_certificate certificate". Install the module. Visit the plugins overview page and click to uninstall it. Once you get to the success page remove the mod/certificate folder and click continue. You should be directed to admin/index.php. Follow the prompts to finish the 'upgrade'. Visit the plugins overview page and ensure there are no errors about a missing string for certificate plugin. Test 2 Visit your plugins overview page. Uninstall 'mod_book' by following the prompts (but do not remove from your directory). Go back to your plugins overview page and notice how it says 'To be installed' next to 'Book'. Visit admin/index.php and ensure you can reinstall the plugin. Test 3 Upgrade from 2.2.x and 2.5.x and ensure there are no errors. Test 4 Perform a fresh install and ensure there are no errors. Test 5 On the upgrades site and fresh installed site ensure you can edit blocks on admin/index.php. Test 6 Try add-on installer tool.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w35_MDL-41245_m26_pluginuninstall
    • Sprint:
      BACKEND Sprint 4

      Description

      1. Visit your mod directory and type "git clone https://github.com/markn86/moodle-mod_certificate certificate"
      2. Install the module.
      3. Visit the plugins overview page and click to uninstall it.
      4. Once you get to the success page remove the mod/certificate folder and click continue.
      5. You will be given an error about a missing language string.
      6. Visit admin/index.php and it takes you to the upgrade page with "No plugins require your attention now".
      7. When clicking "Upgrade Moodle database now" it takes you back to the same page.
      1. Visit your plugins overview page.
      2. Uninstall 'qtype_calculatedmulti' by following the prompts until you get to admin/qtypes.php which lists them.
      3. Go back to your plugins overview page and notice how it says 'To be installed' next to 'Calculated multichoice'.
      4. Visit admin/index.php and notice you are not able to reinstall it, even after clearing cache.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Mark Nelson
              Integrator:
              Damyon Wiese
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13