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

Warning message shown when editing a user's profile with pending email change

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MOODLE_28_STABLE, MOODLE_29_STABLE
    • MDL-51837-master
    • Hide
      1. Using a Moodle instance with email sending not configured, login as a student.
      2. Go to Preferences ▶︎ User account ▶︎ Edit profile
      3. Change the email address and click "Update profile"
      4. Confirm that you see the "could not send email!" message.
      5. Logout then login as admin.
      6. Make sure that developer mode is on.
      7. Go to Site administration ▶︎ Users ▶︎ Accounts ▶︎ Browse list of users
      8. Click the Edit icon for the user with the pending email change.
      9. On the Email field, confirm that something like "Change pending. Open the link sent to you at [user@email.com]." is being shown.
      10. Make some changes on the user's profile (i.e. description) and click "Update profile"
      11. Confirm that
        There are no warning messages displayed.
        The profile is successfully updated and the user is redirected to the Browse list of users page.
      Show
      Using a Moodle instance with email sending not configured, login as a student. Go to Preferences ▶︎ User account ▶︎ Edit profile Change the email address and click "Update profile" Confirm that you see the "could not send email!" message. Logout then login as admin. Make sure that developer mode is on. Go to Site administration ▶︎ Users ▶︎ Accounts ▶︎ Browse list of users Click the Edit icon for the user with the pending email change. On the Email field, confirm that something like "Change pending. Open the link sent to you at [user@email.com]." is being shown. Make some changes on the user's profile (i.e. description) and click "Update profile" Confirm that There are no warning messages displayed. The profile is successfully updated and the user is redirected to the Browse list of users page.

      Steps to reproduce:

      1. Using a Moodle instance with email sending not configured, login as a student.
      2. Go to Preferences ▶︎ User account ▶︎ Edit profile
      3. Change the email address and click "Update profile"
      4. Confirm that you see the "could not send email!" message.
      5. Logout then login as admin.
      6. Make sure that developer mode is on.
      7. Go to Site administration ▶︎ Users ▶︎ Accounts ▶︎ Browse list of users
      8. Click the Edit icon for the user with the pending email change.
      9. On the Email field, confirm that something like "Change pending. Open the link sent to you at [user@email.com]." is being shown.
      10. Make some changes on the user's profile (i.e. description) and click "Update profile"
      11. The following messages will be shown:

        Notice: Undefined property: stdClass::$email in /Users/junpataleta/Work/moodles/integration_29/moodle/user/editadvanced_form.php on line 262

        Notice: Undefined property: stdClass::$email in /Users/junpataleta/Work/moodles/integration_29/moodle/user/editadvanced_form.php on line 263

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Ryan Wyllie Ryan Wyllie
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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