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

Cron task "Creating passwords for new users" missing additional name fields

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • MDL-43451-master
    • Hide

      The easiest way to test this is to this is to manually set a user preference for create_password for some users. You can also test this by using the uploaduser tool, or the with a DB auth plugin though I've not tried these.

      INSERT INTO mdl_user_preferences (userid, name, value) VALUES (20, 'create_password', '1');
      

      • run cron
      • find 'Creating passwords for new users...' in the output
        • Confirm that there were no errors displayed
      Show
      The easiest way to test this is to this is to manually set a user preference for create_password for some users. You can also test this by using the uploaduser tool, or the with a DB auth plugin though I've not tried these. INSERT INTO mdl_user_preferences (userid, name, value) VALUES (20, 'create_password', '1'); run cron find 'Creating passwords for new users...' in the output Confirm that there were no errors displayed
    • 5
    • FRONTEND Sprint 7

      Running cron after using the dev course creator reveals:

      Creating passwords for new users...
      ++ You need to update your sql to include additional name fields in the user object. ++
      * line 3570 of /lib/moodlelib.php: call to debugging()
      * line 5948 of /lib/moodlelib.php: call to fullname()
      * line 240 of /lib/cronlib.php: call to setnew_password_and_mail()
      * line 61 of /admin/cli/cron.php: call to cron_run()
      ++ You need to update your sql to include additional name fields in the user object. ++
      * line 3570 of /lib/moodlelib.php: call to debugging()
      * line 5795 of /lib/moodlelib.php: call to fullname()
      * line 5960 of /lib/moodlelib.php: call to email_to_user()
      * line 240 of /lib/cronlib.php: call to setnew_password_and_mail()
      * line 61 of /admin/cli/cron.php: call to cron_run()
      ++ You need to update your sql to include additional name fields in the user object. ++
      * line 3570 of /lib/moodlelib.php: call to debugging()
      * line 5948 of /lib/moodlelib.php: call to fullname()
      * line 240 of /lib/cronlib.php: call to setnew_password_and_mail()
      * line 61 of /admin/cli/cron.php: call to cron_run()
      ++ You need to update your sql to include additional name fields in the user object. ++
      * line 3570 of /lib/moodlelib.php: call to debugging()
      * line 5795 of /lib/moodlelib.php: call to fullname()
      * line 5960 of /lib/moodlelib.php: call to email_to_user()
      * line 240 of /lib/cronlib.php: call to setnew_password_and_mail()
      * line 61 of /admin/cli/cron.php: call to cron_run()
      ++ You need to update your sql to include additional name fields in the user object. ++
      * line 3570 of /lib/moodlelib.php: call to debugging()
      * line 5948 of /lib/moodlelib.php: call to fullname()
      * line 240 of /lib/cronlib.php: call to setnew_password_and_mail()
      * line 61 of /admin/cli/cron.php: call to cron_run()
      ++ You need to update your sql to include additional name fields in the user object. ++
      * line 3570 of /lib/moodlelib.php: call to debugging()
      * line 5795 of /lib/moodlelib.php: call to fullname()
      * line 5960 of /lib/moodlelib.php: call to email_to_user()
      * line 240 of /lib/cronlib.php: call to setnew_password_and_mail()
      * line 61 of /admin/cli/cron.php: call to cron_run()
      

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Petr Skoda Petr Skoda
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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