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

Incorrectly Displaying New Admin Settings If Not Set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7, 1.7.1, 1.8
    • 1.9
    • Administration
    • None
    • MySQL
    • MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_19_STABLE

    Description

      Settings using the new admin interface will incorrectly appear as though they are set to their default value even if they have not been created.

      This could be reproduced in a number of ways, from deleting one of the values for the config table to accidentally clicking away during the upgrade:

      • Upgrade a moodle
      • upgrade core takes place
      • prompted to upgrade settings
      • click away from the settings page (for example the admin link, rather than save settings)
      • module upgrade continues
      • upgrade finished
      • View a setting which should've been set (e.g. enablerecordcache in performance, gradebookroles in appearance)
      • the settings will look like its set to the default, but the setting doesn't exist.

      A way round this would perhaps be more agreessive redirection to the uprgrade settings screen if any settings don't exist? Or perhaps something which indicates is showing the default rather than what it is set to?

      Attachments

        Activity

          People

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Nobody Nobody
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08