-
Improvement
-
Resolution: Fixed
-
Major
-
3.11
-
MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
MDL-71051-master-2 -
-
WP 3.11 SP 1
There are a lot of places in code that query user_info_field and user_info_category directly instead of using API
It is inconsistent, it will cause field name not being displayed properly after MDL-28452 and also it is often inefficient
I used this issue to also make some UI changes to the management of profile fields
all the things changed in this issue:
- do not query directly from the DB, use API methods to work with custom user profile fields
- change the method profile_get_custom_field_data_by_shortname() (from
MDL-45242) to return stdClass and not throw exception - it is not a coding exception that some field shortname does not exist - in the unittests use generators for user profile fields (introduced in
MDL-45242) - use modal forms for editing user profile fields and categories
- use mustache template to render the admin interface to manage profile fields, move "add new field" control into each category
- caused a regression
-
MDL-74500 Creating a required Checkbox user profile field no longer force users to update profile
- Closed
- has a non-specific relationship to
-
MDL-80115 After upgrading to 4.1, the client is not redirected to /user/edit.php if a mandatory custom field is not filled in
- Closed
-
MDL-81406 Equella repository incorrectly obtains/formats custom profile fields
- Closed
-
MDL-71413 Final deprecation of user profile functions
- Closed
-
MDL-45242 Allow user profile fields to be specified as user identity fields
- Closed
-
MDL-79959 Add custom field picker for SSO identification in repository_equella
- Closed
- is blocked by
-
MDL-28452 Convert user profile fields for messaging/networking into custom profile fields
- Closed
- is duplicated by
-
MDL-69933 Profilefield library has phpdoc with incorrect return type
- Closed
- will help resolve
-
MDL-57929 profile_has_required_custom_fields_set fails to detect if a custom profile field is empty
- Closed
-
MDL-66302 Edit profile is not forced
- Closed
-
MDL-66720 User is NOT forced to complete required custom user profile fields
- Closed