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

Remove adminpresets_plug entries since we removed chat and survey from core

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_500_STABLE
    • MDL-84552-main
    • Hide

      Scenarion 1. Upgrading from a version with core chat and survey

      1. Create a new 4.4 Moodle version (use

        mdk create -i -r dev -s 84552 -v 404


        for example)

      1. Log in as admin and activate DEVELOPER debugging level in Site administration > Development > Debugging (if not using mdk install)
      2. Navigate to Site administration > Plugins > Manage Activities
      3. Enable chat and survey
      4. Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the 'Starter' Actions menu
      5. Confirm you can see "Chat" and "Survey" module in a row of the Setting changes table
      6. Apply the changes
      7. Upgrade to this patch version
      8. Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the Actions menu
      9. Confirm you cannot see "Chat" and "Survey" module in a row of the Setting changes table
      10. Confirm there are no debug messages or error
      11. Ensure that the following query returns 0:

      SELECT COUNT(*) FROM mdl_adminpresets_plug WHERE name in ('chat','survey')
      

      Scenarion 1. Upgrading in 2 steps

      1. Create a new 4.4 Moodle version (use

        mdk create -i -r dev -s 84552 -v 404


        for example)

      1. Log in as admin and activate DEVELOPER debugging level in Site administration > Development > Debugging (if not using mdk install)
      2. Navigate to Site administration > Plugins > Manage Activities
      3. Enable chat and survey
      4. Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the 'Starter' Actions menu
      5. Confirm you can see "Chat" and "Survey" module in a row of the Setting changes table
      6. Apply the changes
      7. Upgrade to main branch in https://github.com/moodle/moodle.git repository (latest main branch)
      8. Upgrade to this patch version
      9. Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the Actions menu
      10. Confirm you cannot see "Chat" and "Survey" module in a row of the Setting changes table
      11. Confirm there are no debug messages or error
      12. Ensure that the following query returns 0:

      SELECT COUNT(*) FROM public.mdl_adminpresets_plug WHERE name in ('chat','survey')
      

      Show
      Scenarion 1. Upgrading from a version with core chat and survey Create a new 4.4 Moodle version (use mdk create -i -r dev -s 84552 -v 404 for example) Log in as admin and activate DEVELOPER debugging level in Site administration > Development > Debugging (if not using mdk install) Navigate to Site administration > Plugins > Manage Activities Enable chat and survey Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the 'Starter' Actions menu Confirm you can see "Chat" and "Survey" module in a row of the Setting changes table Apply the changes Upgrade to this patch version Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the Actions menu Confirm you cannot see "Chat" and "Survey" module in a row of the Setting changes table Confirm there are no debug messages or error Ensure that the following query returns 0: SELECT COUNT(*) FROM mdl_adminpresets_plug WHERE name in ( 'chat' , 'survey' ) Scenarion 1. Upgrading in 2 steps Create a new 4.4 Moodle version (use mdk create -i -r dev -s 84552 -v 404 for example) Log in as admin and activate DEVELOPER debugging level in Site administration > Development > Debugging (if not using mdk install) Navigate to Site administration > Plugins > Manage Activities Enable chat and survey Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the 'Starter' Actions menu Confirm you can see "Chat" and "Survey" module in a row of the Setting changes table Apply the changes Upgrade to main branch in https://github.com/moodle/moodle.git repository (latest main branch) Upgrade to this patch version Go to Site administration > General > Site Admin preset and click "Review settings and apply" in the Actions menu Confirm you cannot see "Chat" and "Survey" module in a row of the Setting changes table Confirm there are no debug messages or error Ensure that the following query returns 0: SELECT COUNT(*) FROM public .mdl_adminpresets_plug WHERE name in ( 'chat' , 'survey' )
    • Hide

      Code verified against automated checks.

      Checked MDL-84552 using repository: https://github.com/laurentdavid/moodle.git

      More information about this report

      Built on: Mon Feb 24 05:59:01 AM UTC 2025

      Show
      Code verified against automated checks. Checked MDL-84552 using repository: https://github.com/laurentdavid/moodle.git main (0 errors / 0 warnings) [branch: MDL-84552-main | CI Job ] More information about this report Built on: Mon Feb 24 05:59:01 AM UTC 2025
    • HQ 2025 Sprint I1.1 Moppies

      As noted in a comment from MDL-82457, we need to remove the adminpresets_plug (mod/chat and mod/survey) if the plugins are uninstalled.

            laurent.david@moodle.com Laurent David
            laurent.david@moodle.com Laurent David
            Daniel Ziegenberg Daniel Ziegenberg
            Amaia Anabitarte Amaia Anabitarte
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 27 minutes
                3h 27m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.