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

    • Type: Bug
    • Status: Waiting for integration review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.5, 3.8.2
    • Fix Version/s: None
    • Component/s: Navigation
    • Labels:
    • Testing Instructions:
      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>".
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull 3.8 Branch:
    • Pull 3.9 Branch:
    • Pull Master Branch:
      MDL-68334-master

      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

              Assignee:
              lucaboesch Luca Bösch
              Reporter:
              lucaboesch Luca Bösch
              Peer reviewer:
              Bas Brands
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m