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

The login info doesn't fix role name

    Details

    • Testing Instructions:
      Hide

      1/ use fresh install or empty role names in site config if upgraded from 2.3
      2/ go to course and switch role
      3/ verify the role name is displayed in to top right corner
      4/ modify the role name in course
      5/ switch again and verify the role name

      Show
      1/ use fresh install or empty role names in site config if upgraded from 2.3 2/ go to course and switch role 3/ verify the role name is displayed in to top right corner 4/ modify the role name in course 5/ switch again and verify the role name
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w12_MDL-38320_m25_logininfo

      Description

      With MDL-8249, we cannot use the role.name field for displaying the role name. Looks like core_renderer::login_info() is using this field directly to display "logged in as" information.

      Also, this method is overridden by theme_mymobile_core_renderer::login_info() and it needs to be fixed as well.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/May/13