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

admin/settings/plugins.php undefined variable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12