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

Upgrade settings not saving

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • Hide

      Go to User profile fields and change the profile field from 'Role' back to 'role' and save works again.

      Or change from database directly by running following query

      UPDATE `mdl_config_plugins` SET `name` = 'field_updatelocal_profile_field_role' WHERE `name` = 'field_updatelocal_profile_field_Role';
      UPDATE `mdl_config_plugins` SET `name` = 'field_map_profile_field_role' WHERE `name` = 'field_map_profile_field_Role';
      UPDATE `mdl_config_plugins` SET `name` = 'field_updateremote_profile_field_role' WHERE `name` = 'field_updateremote_profile_field_Role';
      UPDATE `mdl_config_plugins` SET `name` = 'field_lock_profile_field_role' WHERE `name` = 'field_lock_profile_field_Role';

      Show
      Go to User profile fields and change the profile field from 'Role' back to 'role' and save works again. Or change from database directly by running following query UPDATE `mdl_config_plugins` SET `name` = 'field_updatelocal_profile_field_role' WHERE `name` = 'field_updatelocal_profile_field_Role'; UPDATE `mdl_config_plugins` SET `name` = 'field_map_profile_field_role' WHERE `name` = 'field_map_profile_field_Role'; UPDATE `mdl_config_plugins` SET `name` = 'field_updateremote_profile_field_role' WHERE `name` = 'field_updateremote_profile_field_Role'; UPDATE `mdl_config_plugins` SET `name` = 'field_lock_profile_field_role' WHERE `name` = 'field_lock_profile_field_Role';
    • Hide
      • Add a new user profile field e.g role
      • Perform upgrade - all works fine
      • Change the user profile field shortname from 'role' to 'Role'
      • Perform upgrade and when it reaches the upgrade settings page, it won't save anymore.

      New settings - CAS server etc will be looking for 'field_map_profile_field_role' and in database, mdl_config_plugins table field is 'field_map_profile_field_Role'

      Show
      Add a new user profile field e.g role Perform upgrade - all works fine Change the user profile field shortname from 'role' to 'Role' Perform upgrade and when it reaches the upgrade settings page, it won't save anymore. New settings - CAS server etc will be looking for 'field_map_profile_field_role' and in database, mdl_config_plugins table field is 'field_map_profile_field_Role'

    Description

      After upgrade, when you go to Notification page, it keeps showing New settings - CAS server (SSO), New settings - External database, New settings - LDAP server and New settings - Shibboleth, and it's not possible to save it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pfranks Enovation Solutions
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: