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

The login info doesn't fix role name

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            bushido Mark Nielsen
            Integrator:
            Damyon Wiese
            Tester:
            Frédéric Massart
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Bas Brands
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

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