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: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.5, 3.8.2, 3.8.4, 3.9.1
    • Fix Version/s: 3.8.5, 3.9.2
    • 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, MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • 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 Bas Brands
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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