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

LDAP data mapping to user profile fields doesn't work if shortnames have upper case letters

XMLWordPrintable

    • Any
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • wip-MDL-49189-master
    • Hide

      Use only lower case letters for shortnames of user profile fields.

      Show
      Use only lower case letters for shortnames of user profile fields.
    • Hide
      1. Create a custom profile field (e.g. "Affiliation") with a shortname containing upper case letters (e.g. "eduPersonPrimaryAffiliation").
      2. Create a custom profile field (e.g. "Address") with a shortname containing just lower case letters (e.g. "address").
      3. Define a mapping at LDAP (or similar) auth plugin settings for these fields.
      4. Set update condition to "On every login".
      5. Log in via the mapped auth method as an existing user with a value for the mapped fields.
      6. Confirm that the profile fields have been set to the expected value.

      Note: It is important to test an existing user. Mapping will succeed on user creation even without the patch.

      Show
      Create a custom profile field (e.g. "Affiliation") with a shortname containing upper case letters (e.g. "eduPersonPrimaryAffiliation"). Create a custom profile field (e.g. "Address") with a shortname containing just lower case letters (e.g. "address"). Define a mapping at LDAP (or similar) auth plugin settings for these fields. Set update condition to "On every login". Log in via the mapped auth method as an existing user with a value for the mapped fields. Confirm that the profile fields have been set to the expected value. Note: It is important to test an existing user. Mapping will succeed on user creation even without the patch.

      The mapping of data from the LDAP server to custom profile fields doesn't work, if the custom profile field shortname contains upper case letters. Other external authentication providers such as Shibboleth are also affected.

            kwiliarty Kevin Wiliarty (Inactive)
            eberhardt Jan Eberhardt
            Mark Nelson Mark Nelson
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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