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

Plugins that only use settings.php to add items to another section can cause an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.3
    • 2.3
    • Administration
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • wip-MDL-35661-master
    • Hide

      In 2.3 and master:
      install some contributed local plugin and make sure that plugins overview page (xxx/admin/plugins.php) does not show the broken 'settings' link.

      In master only:
      1. Make sure that Plugins section of Site Administration has working 'settings' and 'uninstall' links.

      Note: New functionality does not affect any core plugins.

      2. Install some contributed plugins and make sure that settings, visibility icon and uninstall link are similar to overview page of this particular plugin type.
      Changed interfaces: webservices, plagiarism, editors, message protocols.

      3. Try altering some plugin's settings.php file by adding $settings=null; in the end. Expected behaviour: the settings item is removed from navigation menu and overview page for particular plugin type. After this fix the link is also removed from general plugin overview page.

      Show
      In 2.3 and master: install some contributed local plugin and make sure that plugins overview page (xxx/admin/plugins.php) does not show the broken 'settings' link. In master only: 1. Make sure that Plugins section of Site Administration has working 'settings' and 'uninstall' links. Note: New functionality does not affect any core plugins. 2. Install some contributed plugins and make sure that settings, visibility icon and uninstall link are similar to overview page of this particular plugin type. Changed interfaces: webservices, plagiarism, editors, message protocols. 3. Try altering some plugin's settings.php file by adding $settings=null; in the end. Expected behaviour: the settings item is removed from navigation menu and overview page for particular plugin type. After this fix the link is also removed from general plugin overview page.

      See MDL-35442:

      1. install the adminer contrib plugin to local
      2. Click on the settings link in the plugins overview page

      This is probably the case for other plugin types settings links too.

            marina Marina Glancy
            poltawski Dan Poltawski
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Dan Poltawski Dan Poltawski
            Andrew Davis Andrew Davis
            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.