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

Allow myprofile block to display user idnumber

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.11.4, 4.1
    • 4.1
    • Blocks
    • MOODLE_311_STABLE, MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-73236-M41v2
    • Easy
    • Hide

      Manual testing:

      1. Requires a user with an ID  number assigned in the user profile.
      2. Add the "logged in user" block to the user dashboard
      3. Verify that the ID number is not displayed
      4. Purge caches from Site administration -> Development ->Purge caches
      5. Configure the logged in user block and change "Display ID number" to Yes.
      6. Save the page and view the logged in user block.
      7. Verify that the ID number is displayed.

      Automated testing:

      1. The above steps are covered by behat in the block_myprofile.feature
      Show
      Manual testing: Requires a user with an ID  number assigned in the user profile. Add the "logged in user" block to the user dashboard Verify that the ID number is not displayed Purge caches from Site administration -> Development ->Purge caches Configure the logged in user block and change "Display ID number" to Yes. Save the page and view the logged in user block. Verify that the ID number is displayed. Automated testing: The above steps are covered by behat in the block_myprofile.feature

    Description

      The myprofile block displays a variety of user information, but currently doesn't support displaying the user ID number. (It's an option field in the user profile)

      Attachments

        1. Step 7.PNG
          Step 7.PNG
          11 kB
        2. Step 3.PNG
          Step 3.PNG
          16 kB
        3. double-escaped idnumber.png
          double-escaped idnumber.png
          61 kB

        Activity

          People

            sbourget Stephen Bourget
            sbourget Stephen Bourget
            Aya Saad Aya Saad
            Jun Pataleta Jun Pataleta
            Gladys Basiana Gladys Basiana
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              28/Nov/22

              Time Tracking

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