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

Upgrade settings not saving

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_402_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'

      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.

            Unassigned Unassigned
            pfranks Enovation Solutions
            Votes:
            8 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:

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