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

As soon as fullnamedisplay and alternativefullnameformat differ, names in footer and user menu differ

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.8.5, 3.9.2
    • 3.7.5, 3.8.2, 3.8.4, 3.9.1
    • Navigation
    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-68334-master
    • Hide
      1. As admin – with firstname "Admin" and lastname "User", set fullnamedisplay (in admin/settings.php?section=userpolicies) to 'firstname lastname' (or in the example below 'language' which corresponds to the same in english)
        and alternativefullnameformat to 'lastname firstname'
      2. Save and verify in the footer it says "You are logged in as Admin User" and not "You are logged in as User Admin"
      3. Go to Users > Accounts > Browse list of users in site administration and log in as another user.
      4. Verify the footer says "You are logged in as <firstname> <lastname>".
      Show
      As admin – with firstname "Admin" and lastname "User", set fullnamedisplay (in admin/settings.php?section=userpolicies) to 'firstname lastname' (or in the example below 'language' which corresponds to the same in english) and alternativefullnameformat to 'lastname firstname' Save and verify in the footer it says "You are logged in as Admin User" and not "You are logged in as User Admin" Go to Users > Accounts > Browse list of users in site administration and log in as another user. Verify the footer says "You are logged in as <firstname> <lastname>".

    Description

      I think when solving MDL-67672 the footer went omitted.

      If you set for example

      fullnamedisplay: firstnamephonetic,lastnamephonetic
      alternativefullnameformat: middlename, alternatename, firstname, lastname

      (in admin/settings.php?section=userpolicies)

      the name in the footer "You are logged in as…" uses alternativefullnameformat, and not fullnamedisplay.

      Attachments

        Issue Links

          Activity

            People

              lucaboesch Luca Bösch
              lucaboesch Luca Bösch
              Bas Brands Bas Brands
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Sep/20

                Time Tracking

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