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

admin/settings/plugins.php undefined variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.4
    • Administration
    • MOODLE_24_STABLE
    • MOODLE_24_STABLE
    • Hide

      1. To test this you need to install some third-party qtypes. Ideally install https://github.com/moodleou/moodle-qtype_pmatch (which uses an admin externalpage) and https://github.com/maths/moodle-qtype_stack (which uses a normal settings page). (You just need to install the STACK plugins. You don't need to install Maxima.)

      2. Log in as admin.

      3. Verify that you can see / access / use the manange qtypes and manage qbehaviours pages.

      4. Verify that you can see / access / use the settings page for qtype STACK and qtype pmatch.

      5. Log in as a manager, so you have moodle/question:config but but not moodle/site:config

      6. Verify that you CANNOT see / access / use the manange qtypes and manage qbehaviours pages.

      7. Verify that you still can see / access / use the settings page for qtype STACK and qtype pmatch.

      Show
      1. To test this you need to install some third-party qtypes. Ideally install https://github.com/moodleou/moodle-qtype_pmatch (which uses an admin externalpage) and https://github.com/maths/moodle-qtype_stack (which uses a normal settings page). (You just need to install the STACK plugins. You don't need to install Maxima.) 2. Log in as admin. 3. Verify that you can see / access / use the manange qtypes and manage qbehaviours pages. 4. Verify that you can see / access / use the settings page for qtype STACK and qtype pmatch. 5. Log in as a manager, so you have moodle/question:config but but not moodle/site:config 6. Verify that you CANNOT see / access / use the manange qtypes and manage qbehaviours pages. 7. Verify that you still can see / access / use the settings page for qtype STACK and qtype pmatch.

      Bug introduced by MDL-35661

      Notice: Undefined variable: allplugins in /html/admin/settings/plugins.php on line 304
       
      Warning: Invalid argument supplied for foreach() in /html/admin/settings/plugins.php on line 304

            timhunt Tim Hunt
            marina Marina Glancy
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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