Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34311 Improve debugging when using default cleaning
  3. MDL-38861

Take rid of missing setType() when uploading users

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • Administration
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • Hide

      With debug developer enabled and showing errors or alternatively looking to logs):

      Prepare some users.csv file, these contents can be ok (extracted from a behat test):

      username,password,firstname,lastname,email,cohort1
      tomjones,Pass1234*,Tom,Jones,tomjones@example.com,ASD
      marysmith,Pass1234*,Mary,Smith,marysmith@example.com,DSA
      bobjones,Pass1234*,Bob,Jones,bobjones@example.com,ASD
      alicesmith,Pass1234*,Alice,Smith,alicesmith@example.com,DSA
      

      go to admin->users->accounts->upload users

      upload the csv file, load users, preview and end the process (until the users have been created message.

      GOAL: not "setType()" debugging message is shown at all.

      That is, ciao

      Show
      With debug developer enabled and showing errors or alternatively looking to logs): Prepare some users.csv file, these contents can be ok (extracted from a behat test): username,password,firstname,lastname,email,cohort1 tomjones,Pass1234*,Tom,Jones,tomjones@example.com,ASD marysmith,Pass1234*,Mary,Smith,marysmith@example.com,DSA bobjones,Pass1234*,Bob,Jones,bobjones@example.com,ASD alicesmith,Pass1234*,Alice,Smith,alicesmith@example.com,DSA go to admin->users->accounts->upload users upload the csv file, load users, preview and end the process (until the users have been created message. GOAL: not "setType()" debugging message is shown at all. That is, ciao

      MDL-34311 revealed some undefined types when uploading users. Fixing them (coz there are some behat tests showing them).

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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