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

Custom Profile fields do not display correctly according to visibility setting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.4.3, 2.5, 2.6
    • Administration
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

      As an administrator
      1. Go to Site Administration - Users - Accounts - User profile fields
      2. Create a "Dropdown menu" custom field - short name = "gender" and name = "Gender"
      3. Description = Gender - for example - Male
      4. Set "Is this field required" to Yes
      5. Set "Who is this field visible to?" to Visible to everyone
      6. Enter Male and Female in the menu options field - one per line
      7. Scroll to bottom and click Save changes button
      8. Go to Site administration - Users - Accounts - Browse list of students
      9. Choose a sample student and set the gender as appropriate.
      10. Note that the administrator can see the Gender setting on the user's profile page - not just on the edit profile page.
      11. Note a course that the sample student from steps 9 - 10 above is enrolled.
      12. Note the teacher of the course identified in step 11.
      13. Log out of Moodle
      14. Log into Moodle as the teacher of identified in step 12.
      15. Go into the course identified in step 11.
      16. Go to Course administration - users - enrolled users
      17. Select the sample student identified in step 9 and 10
      18. Note that the Gender field is not visible to the teacher.

      What I expected:
      I expect the teacher to be able to view the Gender custom field since the field is set for Everyone to view.

      What actually happens:
      The Gender custom field is not visible to the teacher.

        1. Admin view.jpg
          Admin view.jpg
          25 kB
        2. Other student view.jpg
          Other student view.jpg
          28 kB
        3. Student view.jpg
          Student view.jpg
          27 kB
        4. Teacher view.jpg
          Teacher view.jpg
          26 kB

            Unassigned Unassigned
            admin@sqooltechs.com SqoolTechs LLC
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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