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

Having dash in the role name breaks the site completely after 3.4 upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 3.4, 3.4.1
    • Authentication
    • MOODLE_34_STABLE

      During upgrade to Moodle 3.4 the site completely collapsed and I ended up partially reverting MDL-30634
      There is a role on the site (assignable in system context) that has a dash in its short name.

      This error is displayed on every page:

      Invalid admin setting (auth_ldap/test-rolecontext)
       
      More information about this error
      Debug info:
      Error code: invalidadminsettingname
      Stack trace:
       
          line 1701 of /lib/adminlib.php: moodle_exception thrown
          line 1567 of /lib/adminlib.php: call to admin_setting->parse_setting_name()
          line 2146 of /lib/adminlib.php: call to admin_setting->__construct()
          line 250 of /auth/ldap/settings.php: call to admin_setting_configtext->__construct()
          line 85 of /lib/classes/plugininfo/auth.php: call to include()
          line 133 of /admin/settings/plugins.php: call to core\plugininfo\auth->load_settings()
          line 8000 of /lib/adminlib.php: call to require()
          line 26 of /admin/search.php: call to admin_get_root()
      

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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