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

"showuseridentity" not able to respect additional profile fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.6, 3.1.2
    • Fix Version/s: None
    • Component/s: Policy, User management
    • Labels:
      None
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE

      Description

      The work to ensure all moodle views respect "showuseridentity" was largely done in https://tracker.moodle.org/browse/MDL-26647 - which is great. However, if a site has utilised additional profile fields via https://docs.moodle.org/30/en/User_profile_fields, these cannot be referenced within the showuseridentity list (as only those in mdl_user can be referenced) and hence cannot appear on user lists or gradebook lists, etc.

      This creates an inconsistency.

      When looking, the moodle user profile loads user_get_user_details which if the profile fields list includes the value 'customfields' exists, then cycle through the list of additional profile fields and include them. Can we please have the same processing elsewhere where it references "showuseridentify" so that additional profile fields can be included.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jason.maddern Jason Maddern
              Participants:
              Component watchers:
              Adrian Greeve, Andrew Lyons, Eloy Lafuente (stronk7), Juan Leyva, Jun Pataleta, Sander Bangma, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: