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

Optional user profile fields not shown in full profile

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_35_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • Hide

      BEFORE UPGRADE

      Prepare student s1 filling all the fields available in his profile with some data.

      1. Enrol teacher t1, student s1 and student s2 in course C1.
      2. As teacher in course C1 look at the s1 profile and verify you can NOT see "phone1, phone2, institution, department, idnumber, address". The same can be tested as admin.
      3. Repeat this verification as student s2 looking at the s1 profile.
      4. As admin select "skype" as "hiddenuserfields" in (Users / Permissions / User policies). Verify "phone1, phone2, institution, department, idnumber, address" are not avaible to be selected as "hiddenuserfields".

      AFTER UPGRADE

      1. As admin verify that fields "phone1, phone2, institution, department, idnumber, address" has been added in "hiddenuserfields" (Users / Permissions / User policies) and they have been automatically selected. The field "skype" is still selected.
      2. As student s2 in course C1 look at the s1 profile and verify you can NOT see the hiddenfields selected.
      3. As teacher t1 or admin look at the s1 profile and verify NOW YOU CAN SEE all the hiddenfields selected.
      4. As admin unselect in hiddenfields "institution, department".
      5. As student s2 in course C1 look at the s1 profile and verify now you can see fields "institution, department".
      Show
      BEFORE UPGRADE Prepare student s1 filling all the fields available in his profile with some data. Enrol teacher t1, student s1 and student s2 in course C1. As teacher in course C1 look at the s1 profile and verify you can NOT see "phone1, phone2, institution, department, idnumber, address". The same can be tested as admin. Repeat this verification as student s2 looking at the s1 profile. As admin select "skype" as "hiddenuserfields" in (Users / Permissions / User policies). Verify "phone1, phone2, institution, department, idnumber, address" are not avaible to be selected as "hiddenuserfields". AFTER UPGRADE As admin verify that fields "phone1, phone2, institution, department, idnumber, address" has been added in "hiddenuserfields" (Users / Permissions / User policies) and they have been automatically selected. The field "skype" is still selected. As student s2 in course C1 look at the s1 profile and verify you can NOT see the hiddenfields selected. As teacher t1 or admin look at the s1 profile and verify NOW YOU CAN SEE all the hiddenfields selected. As admin unselect in hiddenfields "institution, department". As student s2 in course C1 look at the s1 profile and verify now you can see fields "institution, department".

      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.

        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. captura_899.png
          captura_899.png
          96 kB
        6. image-2018-09-10-18-29-20-460.png
          image-2018-09-10-18-29-20-460.png
          46 kB

            Unassigned Unassigned
            tsala Helen Foster
            Ilya Tregubov Ilya Tregubov
            Votes:
            6 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 18 minutes
                1h 18m

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