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

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

XMLWordPrintable

    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-67672-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 usermenu it says "Admin User" and not "User Admin"
      3. Go to Users > Accounts > Browse list of users in site administration and log in as another user.
      4. Verify the usermenu says
        "Admin User
        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 usermenu it says "Admin User" and not "User Admin" Go to Users > Accounts > Browse list of users in site administration and log in as another user. Verify the usermenu says "Admin User You are logged in as <firstname> <lastname>".

      If you set for example

      fullnamedisplay : firstname lastname (or in the example below 'language' which corresponds to the same in english)
      alternativefullnameformat : lastname firstname

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

      then there's an inconsistency in the UI which is hard to explain to users.

      Why should the user menu name not be fullnamedisplay as well ('Admin' being set as firstname and 'User' being set as lastname in the screenshot below)?

       

      (fullname() is called with parameter true in https://github.com/moodle/moodle/blob/master/user/lib.php#L856)

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Neill Magill Neill Magill
            Jake Dallimore Jake Dallimore
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 10 minutes
                4h 10m

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