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

Optional user profile fields not shown in full profile

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Test in Boost or Clean
      2. As admin, go to admin/settings.php?section=userpolicies and cross check an "Address" entry is both in "Hide user fields" and "Show user identity"
      3. Log in as a user and edit your profile.
      4. Add text to the following optional fields:
        Web page
        ICQ number
        Skype ID
        AIM ID
        Yahoo ID
        MSM ID
        ID number
        Institution
        Department
        Phone
        Mobile phone
        Address
      5. As admin, view this user's profile
      6. Cross check the fields are displayed
      7. As that user, view your own profile
      8. Cross check the fields are displayed
      Show
      Test in Boost or Clean As admin, go to admin/settings.php?section=userpolicies and cross check an "Address" entry is both in "Hide user fields" and "Show user identity" Log in as a user and edit your profile. Add text to the following optional fields: Web page ICQ number Skype ID AIM ID Yahoo ID MSM ID ID number Institution Department Phone Mobile phone Address As admin, view this user's profile Cross check the fields are displayed As that user, view your own profile Cross check the fields are displayed
    • Affected Branches:
      MOODLE_35_STABLE
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-63296-master

      Description

      As reported in https://moodle.org/mod/forum/discuss.php?d=375471 and reproduced on https://demo.moodle.net (using 3.5.1), certain optional user profile fields are not shown in the full profile.

      Steps to reproduce:

      1. Log in as a user and edit your profile.
      2. Add text to the following optional fields:
        ID number
        Institution
        Department
        Phone
        Mobile phone
        Address
      3. Click the 'Update profile' button.

      Expected result:

      The above profile fields are shown in the full profile for the user themselves and also an admin user and any user with the capability moodle/user:viewalldetails.

      Actual result:

      The above profile fields are not shown at all.

        Attachments

        1. cap1.png
          cap1.png
          126 kB
        2. cap2.png
          cap2.png
          133 kB
        3. cap3.png
          cap3.png
          127 kB
        4. cap4.png
          cap4.png
          113 kB
        5. image-2018-09-10-18-29-20-460.png
          image-2018-09-10-18-29-20-460.png
          46 kB

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 minutes
                  3m