-
Bug
-
Resolution: Fixed
-
Minor
-
4.2, 4.3, 4.4
Some user WebServices return the custom profile fields (e.g. core_user_get_course_user_profiles and core_user_get_users_by_field). The name of these fields can have multilang tags, so it should be filtered but right now it isn't.
The signup WebService (auth_email_get_signup_settings) does filter this field, so that one shouldn't be changed.
To reproduce:
- Enable the multi-lang filter in name
- Install a couple of additional language packs
- Create a new user profile field, using as the name of the field a text including multi-lang strings (span lang="en" class="multilang">Name in english</span><span lang="es" class="multilang">Nombre en español</span>)
- Retrieve via WebServices the user information, for example calling core_user_get_course_user_profiles
- Confirm that you are always receiving the names with multi-langs regardless if you pass as parameter &moodlewssettingfilter=true to force text filtering or not
The expected result once this is fixed would be:
- The name with multi-lang tags not filtered is returned when &moodlewssettingfilter is set to false
- The name filtered (in your current language) without tags when &moodlewssettingfilter is set to true
- caused a regression
-
MDL-82494 User profile field names are formatted using the wrong method
- Closed
- Discovered while testing
-
MOBILE-4292 Fix drop-down user profile field when using multi-lang
- Closed